Skip to content

ECS  >  Structures  >  ServiceRevisionSummary

ServiceRevisionSummary

Structure Class

ServiceRevisionSummary dataclass

Bases: _SerdeShape

The information about the number of requested, pending, and running tasks for a service revision.

Attributes

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

The ARN of the service revision.

pending_task_count class-attribute instance-attribute
pending_task_count: int = ...

The number of pending tasks for the service revision.

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

The percentage of production traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.

requested_task_count class-attribute instance-attribute
requested_task_count: int = ...

The number of requested tasks for the service revision.

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

The percentage of test traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.

running_task_count class-attribute instance-attribute
running_task_count: int = ...

The number of running tasks for the service revision.