Skip to content

EC2  >  Structures  >  IpamPolicy

IpamPolicy

Structure Class

IpamPolicy dataclass

Bases: _SerdeShape

Information about an IPAM policy.

An IPAM policy is a set of rules that define how public IPv4 addresses from IPAM pools are allocated to Amazon Web Services resources. Each rule maps an Amazon Web Services service to IPAM pools that the service will use to get IP addresses. A single policy can have multiple rules and be applied to multiple Amazon Web Services Regions. If the IPAM pool run out of addresses then the services fallback to Amazon-provided IP addresses. A policy can be applied to an individual Amazon Web Services account or an entity within Amazon Web Services Organizations.

Attributes

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

The ID of the IPAM this policy belongs to.

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

The Amazon Resource Name (ARN) of the IPAM policy.

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

The ID of the IPAM policy.

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

The Region of the IPAM policy.

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

The account ID that owns the IPAM policy.

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

The state of the IPAM policy.

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

A message about the state of the IPAM policy.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

The tags assigned to the IPAM policy.