Skip to content

EC2  >  Structures  >  CapacityManagerDimension

CapacityManagerDimension

Structure Class

CapacityManagerDimension dataclass

Bases: _SerdeShape

Represents dimension values for capacity metrics, including resource identifiers, geographic information, and reservation details used for grouping and filtering capacity data.

Attributes

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

The Amazon Web Services account ID that owns the capacity resource.

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

The name of the Amazon Web Services account that owns the capacity resource. This dimension is only available when Organizations access is enabled for Capacity Manager.

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

The unique identifier of the Availability Zone where the capacity resource is located.

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

The EC2 instance family of the capacity resource.

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

The platform or operating system of the instance.

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

The specific EC2 instance type of the capacity resource.

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

The Amazon Resource Name (ARN) of the capacity reservation. This provides a unique identifier that can be used across Amazon Web Services services to reference the specific reservation.

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

The timestamp when the capacity reservation was originally created, in milliseconds since epoch. This differs from the start timestamp as reservations can be created before they become active.

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

The type of end date for the capacity reservation. This indicates whether the reservation has a fixed end date, is open-ended, or follows a specific termination pattern.

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

The timestamp when the capacity reservation expires and is no longer available, in milliseconds since epoch. After this time, the reservation will not provide any capacity.

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

The unique identifier of the capacity reservation.

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

The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.

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

The timestamp when the capacity reservation becomes active and available for use, in milliseconds since epoch. This is when the reservation begins providing capacity.

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

The current state of the capacity reservation.

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

The type of capacity reservation.

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

The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.

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

The Amazon Web Services Region where the capacity resource is located.

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

The tags associated with the capacity resource, represented as key-value pairs. Only tags that have been activated for monitoring via UpdateCapacityManagerMonitoredTagKeys are included.

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

The tenancy of the EC2 instances associated with this capacity dimension. Valid values are 'default' for shared tenancy, 'dedicated' for dedicated instances, or 'host' for dedicated hosts.