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
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html
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 = {
subnetId: 'subnetId',
// the properties below are optional
ipv6CidrBlock: 'ipv6CidrBlock',
ipv6IpamPoolId: 'ipv6IpamPoolId',
ipv6NetmaskLength: 123,
};
Properties
Name | Type | Description |
---|---|---|
subnet | string | The ID of the subnet. |
ipv6 | string | The IPv6 network range for the subnet, in CIDR notation. |
ipv6 | string | An IPv6 IPAM pool ID for the subnet. |
ipv6 | number | An IPv6 netmask length for the subnet. |
subnetId
Type:
string
The ID of the subnet.
ipv6CidrBlock?
Type:
string
(optional)
The IPv6 network range for the subnet, in CIDR notation.
ipv6IpamPoolId?
Type:
string
(optional)
An IPv6 IPAM pool ID for the subnet.
ipv6NetmaskLength?
Type:
number
(optional)
An IPv6 netmask length for the subnet.