aws-cdk-lib.aws_ec2.CfnSubnetCidrBlockProps
interface CfnSubnetCidrBlockProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnSubnetCidrBlockProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSubnetCidrBlockProps |
![]() | software.amazon.awscdk.services.ec2.CfnSubnetCidrBlockProps |
![]() | aws_cdk.aws_ec2.CfnSubnetCidrBlockProps |
![]() | 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
Name | Type | Description |
---|---|---|
ipv6 | string | The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length. |
subnet | string | The 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.