interface AllocateIpv6CidrRequest
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.AllocateIpv6CidrRequest |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#AllocateIpv6CidrRequest |
Java | software.amazon.awscdk.services.ec2.AllocateIpv6CidrRequest |
Python | aws_cdk.aws_ec2.AllocateIpv6CidrRequest |
TypeScript (source) | aws-cdk-lib » aws_ec2 » AllocateIpv6CidrRequest |
Request for subnet IPv6 CIDRs to be allocated for a VPC.
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 allocateIpv6CidrRequest: ec2.AllocateIpv6CidrRequest = {
allocatedSubnets: [{
cidr: 'cidr',
// the properties below are optional
ipv6Cidr: 'ipv6Cidr',
}],
ipv6Cidrs: ['ipv6Cidrs'],
};
Properties
Name | Type | Description |
---|---|---|
allocated | Allocated [] | List of subnets allocated with IPv4 CIDRs. |
ipv6 | string[] | The IPv6 CIDRs to be allocated to the subnets. |
allocatedSubnets
Type:
Allocated
[]
List of subnets allocated with IPv4 CIDRs.
ipv6Cidrs
Type:
string[]
The IPv6 CIDRs to be allocated to the subnets.