Skip to content

ECS  >  Structures  >  ManagedApplicationAutoScalingPolicy

ManagedApplicationAutoScalingPolicy

Structure Class

ManagedApplicationAutoScalingPolicy dataclass

Bases: _SerdeShape

The Application Auto Scaling policy created by Amazon ECS when you create an Express service.

Attributes

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

The Amazon Resource Name (ARN) of the Application Auto Scaling policy associated with the Express service.

metric instance-attribute
metric: str

The metric used for auto scaling decisions. The available metrics are ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, and ALBRequestCOuntPerTarget.

policy_type instance-attribute
policy_type: str

The type of Application Auto Scaling policy associated with the Express service. Valid values are TargetTrackingScaling, StepScaling, and PredictiveScaling.

status instance-attribute
status: str

The status of Application Auto Scaling policy creation.

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

Information about why the Application Auto Scaling policy is in the current status.

target_value class-attribute instance-attribute
target_value: float = ...

The target value for the auto scaling metric.

updated_at instance-attribute
updated_at: datetime

The Unix timestamp for when the Application Auto Scaling policy was last updated.