AvailabilityZoneMappingProperty Struct
Defines the mapping between an Availability Zone and a firewall endpoint for a transit gateway-attached firewall.
Each mapping represents where the firewall can process traffic. You use these mappings when calling CreateFirewall , AssociateAvailabilityZones , and DisassociateAvailabilityZones .
To retrieve the current Availability Zone mappings for a firewall, use DescribeFirewall .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const availabilityZoneMappingProperty: networkfirewall.CfnFirewall.AvailabilityZoneMappingProperty = {
availabilityZone: 'availabilityZone',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkfirewall as networkfirewall
availability_zone_mapping_property = networkfirewall.CfnFirewall.AvailabilityZoneMappingProperty(
availability_zone="availabilityZone"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
AvailabilityZoneMappingProperty availabilityZoneMappingProperty = AvailabilityZoneMappingProperty.builder()
.availabilityZone("availabilityZone")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkFirewall;
var availabilityZoneMappingProperty = new AvailabilityZoneMappingProperty {
AvailabilityZone = "availabilityZone"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
availabilityZoneMappingProperty := &AvailabilityZoneMappingProperty{
AvailabilityZone: jsii.String("availabilityZone"),
}
Properties
availabilityZonestringavailability_zonestravailabilityZoneStringAvailabilityZonestringAvailabilityZone*string required #The ID of the Availability Zone where the firewall endpoint is located.
For example, us-east-2a . The Availability Zone must be in the same Region as the transit gateway.