Interface CfnNatGatewayProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnNatGatewayProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:08.870Z") @Stability(Stable) public interface CfnNatGatewayProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnNatGateway.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 CfnNatGatewayProps cfnNatGatewayProps = CfnNatGatewayProps.builder()
         .allocationId("allocationId")
         .availabilityMode("availabilityMode")
         .availabilityZoneAddresses(List.of(AvailabilityZoneAddressProperty.builder()
                 .allocationIds(List.of("allocationIds"))
                 // the properties below are optional
                 .availabilityZone("availabilityZone")
                 .availabilityZoneId("availabilityZoneId")
                 .build()))
         .connectivityType("connectivityType")
         .maxDrainDurationSeconds(123)
         .privateIpAddress("privateIpAddress")
         .secondaryAllocationIds(List.of("secondaryAllocationIds"))
         .secondaryPrivateIpAddressCount(123)
         .secondaryPrivateIpAddresses(List.of("secondaryPrivateIpAddresses"))
         .subnetId("subnetId")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .vpcId("vpcId")
         .build();
 

See Also: