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
The IPv6 network range for the subnet, in CIDR notation.
ipv6IpamPoolIdstringipv6_ipam_pool_idstripv6IpamPoolIdStringIpv6IpamPoolIdstringIpv6IpamPoolId*string#An IPv6 IPAM pool ID for the subnet.
ipv6NetmaskLengthnumberipv6_netmask_lengthint | floatipv6NetmaskLengthNumberIpv6NetmaskLengthdoubleIpv6NetmaskLength*float64#An IPv6 netmask length for the subnet.
subnetIdstring | ISubnetRefsubnet_idtyping.Union[str, ISubnetRef]subnetIdStringSubnetIdstringSubnetIdinterface{}required#The ID of the subnet.