ScalingPolicyReference
- class aws_cdk.aws_applicationautoscaling.ScalingPolicyReference(*, scalable_dimension, scaling_policy_arn)
Bases:
object
A reference to a ScalingPolicy resource.
- Parameters:
scalable_dimension (
str
) – The ScalableDimension of the ScalingPolicy resource.scaling_policy_arn (
str
) – The Arn of the ScalingPolicy 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 scaling_policy_reference = appscaling.ScalingPolicyReference( scalable_dimension="scalableDimension", scaling_policy_arn="scalingPolicyArn" )
Attributes
- scalable_dimension
The ScalableDimension of the ScalingPolicy resource.
- scaling_policy_arn
The Arn of the ScalingPolicy resource.