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_reason
class-attribute
instance-attribute
¶
status_reason: str | None = ...
Information about why the Application Auto Scaling policy is in the current status.