Skip to content

EC2  >  Structures  >  IpamPoolCidr

IpamPoolCidr

Structure Class

IpamPoolCidr dataclass

Bases: _SerdeShape

A CIDR provisioned to an IPAM pool.

Attributes

cidr class-attribute instance-attribute
cidr: str | None = ...

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.

failure_reason class-attribute instance-attribute
failure_reason: IpamPoolCidrFailureReason | None = ...

Details related to why an IPAM pool CIDR failed to be provisioned.

ipam_pool_cidr_id class-attribute instance-attribute
ipam_pool_cidr_id: str | None = ...

The IPAM pool CIDR ID.

netmask_length class-attribute instance-attribute
netmask_length: int | None = ...

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.

state class-attribute instance-attribute
state: str | None = ...

The state of the CIDR.