CfnScalingPolicyProps

class aws_cdk.aws_applicationautoscaling.CfnScalingPolicyProps(*, policy_name, policy_type, resource_id=None, scalable_dimension=None, scaling_target_id=None, service_namespace=None, step_scaling_policy_configuration=None, target_tracking_scaling_policy_configuration=None)

Bases: object

__init__(*, policy_name, policy_type, resource_id=None, scalable_dimension=None, scaling_target_id=None, service_namespace=None, step_scaling_policy_configuration=None, target_tracking_scaling_policy_configuration=None)

Properties for defining a AWS::ApplicationAutoScaling::ScalingPolicy.

Parameters
  • policy_name (str) – AWS::ApplicationAutoScaling::ScalingPolicy.PolicyName.

  • policy_type (str) – AWS::ApplicationAutoScaling::ScalingPolicy.PolicyType.

  • resource_id (Optional[str]) – AWS::ApplicationAutoScaling::ScalingPolicy.ResourceId.

  • scalable_dimension (Optional[str]) – AWS::ApplicationAutoScaling::ScalingPolicy.ScalableDimension.

  • scaling_target_id (Optional[str]) – AWS::ApplicationAutoScaling::ScalingPolicy.ScalingTargetId.

  • service_namespace (Optional[str]) – AWS::ApplicationAutoScaling::ScalingPolicy.ServiceNamespace.

  • step_scaling_policy_configuration (Union[IResolvable, None, StepScalingPolicyConfigurationProperty]) – AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration.

  • target_tracking_scaling_policy_configuration (Union[IResolvable, None, TargetTrackingScalingPolicyConfigurationProperty]) – AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html

Attributes

policy_name

AWS::ApplicationAutoScaling::ScalingPolicy.PolicyName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-policyname

Return type

str

policy_type

AWS::ApplicationAutoScaling::ScalingPolicy.PolicyType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-policytype

Return type

str

resource_id

AWS::ApplicationAutoScaling::ScalingPolicy.ResourceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-resourceid

Return type

Optional[str]

scalable_dimension

AWS::ApplicationAutoScaling::ScalingPolicy.ScalableDimension.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-scalabledimension

Return type

Optional[str]

scaling_target_id

AWS::ApplicationAutoScaling::ScalingPolicy.ScalingTargetId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-scalingtargetid

Return type

Optional[str]

service_namespace

AWS::ApplicationAutoScaling::ScalingPolicy.ServiceNamespace.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-servicenamespace

Return type

Optional[str]

step_scaling_policy_configuration

AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration

Return type

Union[IResolvable, None, StepScalingPolicyConfigurationProperty]

target_tracking_scaling_policy_configuration

AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration

Return type

Union[IResolvable, None, TargetTrackingScalingPolicyConfigurationProperty]