Skip to content

ManagedApplicationAutoScalingPolicy

Source code in docs_src/capo_ecs/types/managed_application_auto_scaling_policy.py
class ManagedApplicationAutoScalingPolicy(TypedDict, closed=True):
    arn: NotRequired["capo_ecs.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the Application Auto Scaling policy associated with the Express service.</p>"""
    status: "capo_ecs.types.managed_resource_status.ManagedResourceStatus"
    """<p>The status of Application Auto Scaling policy creation.</p>"""
    status_reason: NotRequired["capo_ecs.types.string.String"]
    """<p>Information about why the Application Auto Scaling policy is in the current status.</p>"""
    updated_at: "capo_ecs.types.timestamp.Timestamp"
    """<p>The Unix timestamp for when the Application Auto Scaling policy was last updated.</p>"""
    policy_type: "capo_ecs.types.string.String"
    """<p>The type of Application Auto Scaling policy associated with the Express service. Valid values are <code>TargetTrackingScaling</code>, <code>StepScaling</code>, and <code>PredictiveScaling</code>.</p>"""
    target_value: "capo_ecs.types.double.Double"
    """<p>The target value for the auto scaling metric.</p>"""
    metric: "capo_ecs.types.string.String"
    """<p>The metric used for auto scaling decisions. The available metrics are <code>ECSServiceAverageCPUUtilization</code>, <code>ECSServiceAverageMemoryUtilization</code>, and <code>ALBRequestCOuntPerTarget</code>.</p>"""

arn instance-attribute

arn: NotRequired[String]

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

metric instance-attribute

metric: String

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

policy_type instance-attribute

policy_type: String

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

status instance-attribute

The status of Application Auto Scaling policy creation.

status_reason instance-attribute

status_reason: NotRequired[String]

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

target_value instance-attribute

target_value: Double

The target value for the auto scaling metric.

updated_at instance-attribute

updated_at: Timestamp

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