ScalableTargetAttributes

class aws_cdk.aws_applicationautoscaling.ScalableTargetAttributes(*, scalable_dimension, scalable_target_id, service_namespace)

Bases: object

Attributes for importing a scalable target.

Parameters:
  • scalable_dimension (str) – The scalable dimension that’s associated with the scalable target.

  • scalable_target_id (str) – The scalable target ID.

  • service_namespace (str) – The namespace of the AWS service that provides the resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_applicationautoscaling as appscaling

scalable_target_attributes = appscaling.ScalableTargetAttributes(
    scalable_dimension="scalableDimension",
    scalable_target_id="scalableTargetId",
    service_namespace="serviceNamespace"
)

Attributes

scalable_dimension

The scalable dimension that’s associated with the scalable target.

scalable_target_id

The scalable target ID.

service_namespace

The namespace of the AWS service that provides the resource.