AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::IPAMPoolCidr

CfnIPAMPoolCidr

A CIDR provisioned to an IPAM pool.

Import

import { CfnIPAMPoolCidr } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnIPAMPoolCidr

Properties

Configuration passed to the constructor as CfnIPAMPoolCidrProps.

ipamPoolIdRequired
string

The ID of the IPAM pool.

cidrOptional
string

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` .

netmaskLengthOptional
number

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic