interface CfnSubnetCidrBlockProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSubnetCidrBlockProps |
Java | software.amazon.awscdk.services.ec2.CfnSubnetCidrBlockProps |
Python | aws_cdk.aws_ec2.CfnSubnetCidrBlockProps |
TypeScript | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
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.