Skip to content

EC2  >  Structures  >  IpamDiscoveredResourceCidr

IpamDiscoveredResourceCidr

Structure Class

IpamDiscoveredResourceCidr dataclass

Bases: _SerdeShape

An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.

Attributes

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

The Availability Zone ID.

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

The source that allocated the IP address space. byoip or amazon indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP). none indicates private space.

ip_usage class-attribute instance-attribute
ip_usage: float | None = ...

The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

  • For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.

  • For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.

  • For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).

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

The resource discovery ID.

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

For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.

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

The resource CIDR.

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

The resource ID.

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

The resource owner ID.

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

The resource Region.

resource_tags class-attribute instance-attribute
resource_tags: list[IpamResourceTag] | None = ...

The resource tags.

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

The resource type.

sample_time class-attribute instance-attribute
sample_time: datetime | None = ...

The last successful resource discovery time.

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

The subnet ID.

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

The VPC ID.