Interface CfnSubnetProps

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:15.850Z") @Stability(Stable) public interface CfnSubnetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnSubnet.

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.*;
 Object privateDnsNameOptionsOnLaunch;
 CfnSubnetProps cfnSubnetProps = CfnSubnetProps.builder()
         .vpcId("vpcId")
         // the properties below are optional
         .assignIpv6AddressOnCreation(false)
         .availabilityZone("availabilityZone")
         .availabilityZoneId("availabilityZoneId")
         .cidrBlock("cidrBlock")
         .enableDns64(false)
         .enableLniAtDeviceIndex(123)
         .ipv4IpamPoolId("ipv4IpamPoolId")
         .ipv4NetmaskLength(123)
         .ipv6CidrBlock("ipv6CidrBlock")
         .ipv6CidrBlocks(List.of("ipv6CidrBlocks"))
         .ipv6IpamPoolId("ipv6IpamPoolId")
         .ipv6Native(false)
         .ipv6NetmaskLength(123)
         .mapPublicIpOnLaunch(false)
         .outpostArn("outpostArn")
         .privateDnsNameOptionsOnLaunch(privateDnsNameOptionsOnLaunch)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: