CfnSubnetCidrBlockProps Struct
Properties for defining a CfnSubnetCidrBlock.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnSubnetCidrBlockProps: ec2.CfnSubnetCidrBlockProps = {
subnetId: 'subnetId',
// the properties below are optional
ipv6CidrBlock: 'ipv6CidrBlock',
ipv6IpamPoolId: 'ipv6IpamPoolId',
ipv6NetmaskLength: 123,
};
Properties
ipv6CidrBlockoptionalstringipv6_cidr_blockoptionalstripv6CidrBlockoptionalStringIpv6CidrBlockoptionalstringIpv6CidrBlockoptional*string#The IPv6 network range for the subnet, in CIDR notation.
ipv6IpamPoolIdoptionalstringipv6_ipam_pool_idoptionalstripv6IpamPoolIdoptionalStringIpv6IpamPoolIdoptionalstringIpv6IpamPoolIdoptional*string#An IPv6 IPAM pool ID for the subnet.
ipv6NetmaskLengthoptionalnumberipv6_netmask_lengthoptionalint | floatipv6NetmaskLengthoptionalNumberIpv6NetmaskLengthoptionaldoubleIpv6NetmaskLengthoptional*float64#An IPv6 netmask length for the subnet.
subnetIdstring | ISubnetRefsubnet_idtyping.Union[str, ISubnetRef]subnetIdStringSubnetIdstringSubnetIdinterface{}required#The ID of the subnet.