interface CfnIPAMPoolCidrProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnIPAMPoolCidrProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnIPAMPoolCidrProps |
![]() | software.amazon.awscdk.services.ec2.CfnIPAMPoolCidrProps |
![]() | aws_cdk.aws_ec2.CfnIPAMPoolCidrProps |
![]() | aws-cdk-lib » aws_ec2 » CfnIPAMPoolCidrProps |
Properties for defining a CfnIPAMPoolCidr
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.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 cfnIPAMPoolCidrProps: ec2.CfnIPAMPoolCidrProps = {
ipamPoolId: 'ipamPoolId',
// the properties below are optional
cidr: 'cidr',
netmaskLength: 123,
};
Properties
Name | Type | Description |
---|---|---|
ipam | string | The ID of the IPAM pool. |
cidr? | string | The CIDR provisioned to the IPAM pool. |
netmask | number | The netmask length of the CIDR you'd like to provision to a pool. |
ipamPoolId
Type:
string
The ID of the IPAM pool.
cidr?
Type:
string
(optional)
The CIDR provisioned to the IPAM pool.
A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23
. An IPv6 CIDR example is 2001:DB8::/32
.
netmaskLength?
Type:
number
(optional)
The netmask length of the CIDR you'd like to provision to a pool.
Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.