interface VpcIpamOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.VpcIpamOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#VpcIpamOptions |
Java | software.amazon.awscdk.services.ec2.VpcIpamOptions |
Python | aws_cdk.aws_ec2.VpcIpamOptions |
TypeScript (source) | aws-cdk-lib » aws_ec2 » VpcIpamOptions |
CIDR Allocated 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 vpcIpamOptions: ec2.VpcIpamOptions = {
cidrBlock: 'cidrBlock',
ipv4IpamPoolId: 'ipv4IpamPoolId',
ipv4NetmaskLength: 123,
};
Properties
Name | Type | Description |
---|---|---|
cidr | string | CIDR Block for Vpc. |
ipv4 | string | ipv4 IPAM Pool Id. |
ipv4 | number | CIDR Mask for Vpc. |
cidrBlock?
Type:
string
(optional, default: Only required when Ipam has concrete allocation available for static Vpc)
CIDR Block for Vpc.
ipv4IpamPoolId?
Type:
string
(optional, default: Only required when using AWS Ipam)
ipv4 IPAM Pool Id.
ipv4NetmaskLength?
Type:
number
(optional, default: Only required when using AWS Ipam)
CIDR Mask for Vpc.