Skip to content
v2.278.0

NatGatewayMappingProperty Struct ​

A mapping to a NAT gateway that a proxy-mode firewall proxies egress traffic through.

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 natGatewayMappingProperty: networkfirewall.CfnFirewall.NatGatewayMappingProperty = {
  natGatewayId: 'natGatewayId',
};
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

nat_gateway_mapping_property = networkfirewall.CfnFirewall.NatGatewayMappingProperty(
    nat_gateway_id="natGatewayId"
)
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.*;

NatGatewayMappingProperty natGatewayMappingProperty = NatGatewayMappingProperty.builder()
        .natGatewayId("natGatewayId")
        .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 natGatewayMappingProperty = new NatGatewayMappingProperty {
    NatGatewayId = "natGatewayId"
};
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"

natGatewayMappingProperty := &NatGatewayMappingProperty{
	NatGatewayId: jsii.String("natGatewayId"),
}

Properties ​

natGatewayIdstringnat_gateway_idstrnatGatewayIdStringNatGatewayIdstringNatGatewayId*string required #
The unique identifier of a NAT gateway.