availability_zone_change_protections
Creates, updates, deletes, gets or lists an availability_zone_change_protections resource.
Overview
| Name | availability_zone_change_protections |
| Type | Resource |
| Id | aws.network_firewall.availability_zone_change_protections |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update_availability_zone_change_protection | update | region, AvailabilityZoneChangeProtection | Modifies the AvailabilityZoneChangeProtection setting for a transit gateway-attached firewall. When enabled, this setting prevents accidental changes to the firewall's Availability Zone configuration. This helps protect against disrupting traffic flow in production environments. When enabled, you must disable this protection before using AssociateAvailabilityZones or DisassociateAvailabilityZones to modify the firewall's Availability Zone configuration. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
UPDATE examples
- update_availability_zone_change_protection
Modifies the AvailabilityZoneChangeProtection setting for a transit gateway-attached firewall. When enabled, this setting prevents accidental changes to the firewall's Availability Zone configuration. This helps protect against disrupting traffic flow in production environments. When enabled, you must disable this protection before using AssociateAvailabilityZones or DisassociateAvailabilityZones to modify the firewall's Availability Zone configuration.
UPDATE aws.network_firewall.availability_zone_change_protections
SET
UpdateToken = '{{ UpdateToken }}',
FirewallArn = '{{ FirewallArn }}',
FirewallName = '{{ FirewallName }}',
AvailabilityZoneChangeProtection = {{ AvailabilityZoneChangeProtection }}
WHERE
region = '{{ region }}' --required
AND AvailabilityZoneChangeProtection = {{ AvailabilityZoneChangeProtection }} --required
RETURNING
availability_zone_change_protection,
firewall_arn,
firewall_name,
update_token;