interface CfnVPCCidrBlockMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnVPCCidrBlockMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnVPCCidrBlockMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVPCCidrBlockMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCCidrBlockMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnVPCCidrBlockMixinProps |
Properties for CfnVPCCidrBlockPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnVPCCidrBlockMixinProps: ec2_mixins.CfnVPCCidrBlockMixinProps = {
amazonProvidedIpv6CidrBlock: false,
cidrBlock: 'cidrBlock',
ipv4IpamPoolId: 'ipv4IpamPoolId',
ipv4NetmaskLength: 123,
ipv6CidrBlock: 'ipv6CidrBlock',
ipv6CidrBlockNetworkBorderGroup: 'ipv6CidrBlockNetworkBorderGroup',
ipv6IpamPoolId: 'ipv6IpamPoolId',
ipv6NetmaskLength: 123,
ipv6Pool: 'ipv6Pool',
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| amazon | boolean | IResolvable | Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. |
| cidr | string | An IPv4 CIDR block to associate with the VPC. |
| ipv4 | string | Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. |
| ipv4 | number | The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. |
| ipv6 | string | An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool in the request. |
| ipv6 | string | The name of the location from which we advertise the IPV6 CIDR block. |
| ipv6 | string | Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. |
| ipv6 | number | The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. |
| ipv6 | string | The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. |
| vpc | string | The ID of the VPC. |
amazonProvidedIpv6CidrBlock?
Type:
boolean | IResolvable
(optional)
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
You cannot specify the range of IPv6 addresses or the size of the CIDR block.
cidrBlock?
Type:
string
(optional)
An IPv4 CIDR block to associate with the VPC.
ipv4IpamPoolId?
Type:
string
(optional)
Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.
For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv4NetmaskLength?
Type:
number
(optional)
The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv6CidrBlock?
Type:
string
(optional)
An IPv6 CIDR block from the IPv6 address pool. You must also specify Ipv6Pool in the request.
To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
ipv6CidrBlockNetworkBorderGroup?
Type:
string
(optional)
The name of the location from which we advertise the IPV6 CIDR block.
Use this parameter to limit the CIDR block to this location.
You must set AmazonProvidedIpv6CidrBlock to true to use this parameter.
You can have one IPv6 CIDR block association per network border group.
ipv6IpamPoolId?
Type:
string
(optional)
Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.
For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv6NetmaskLength?
Type:
number
(optional)
The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv6Pool?
Type:
string
(optional)
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
vpcId?
Type:
string
(optional)
The ID of the VPC.

.NET
Go
Java
Python
TypeScript