ScalableTargetReference

class aws_cdk.aws_applicationautoscaling.ScalableTargetReference(*, resource_id, scalable_dimension, service_namespace)

Bases: object

A reference to a ScalableTarget resource.

Parameters:
  • resource_id (str) – The ResourceId of the ScalableTarget resource.

  • scalable_dimension (str) – The ScalableDimension of the ScalableTarget resource.

  • service_namespace (str) – The ServiceNamespace of the ScalableTarget 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_reference = appscaling.ScalableTargetReference(
    resource_id="resourceId",
    scalable_dimension="scalableDimension",
    service_namespace="serviceNamespace"
)

Attributes

resource_id

The ResourceId of the ScalableTarget resource.

scalable_dimension

The ScalableDimension of the ScalableTarget resource.

service_namespace

The ServiceNamespace of the ScalableTarget resource.