aws-cdk-lib.aws_ec2.CfnSubnetCidrBlockProps

interface CfnSubnetCidrBlockProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnSubnetCidrBlockProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSubnetCidrBlockProps
Javasoftware.amazon.awscdk.services.ec2.CfnSubnetCidrBlockProps
Pythonaws_cdk.aws_ec2.CfnSubnetCidrBlockProps
TypeScript aws-cdk-lib » aws_ec2 » CfnSubnetCidrBlockProps

Properties for defining a CfnSubnetCidrBlock.

Example

// 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 = {
  ipv6CidrBlock: 'ipv6CidrBlock',
  subnetId: 'subnetId',
};

Properties

NameTypeDescription
ipv6CidrBlockstringThe IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
subnetIdstringThe ID of the subnet.

ipv6CidrBlock

Type: string

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

This parameter is required for an IPv6 only subnet.


subnetId

Type: string

The ID of the subnet.