CfnScalingPolicyProps

class aws_cdk.aws_autoscaling.CfnScalingPolicyProps(*, auto_scaling_group_name, adjustment_type=None, cooldown=None, estimated_instance_warmup=None, metric_aggregation_type=None, min_adjustment_magnitude=None, policy_type=None, scaling_adjustment=None, step_adjustments=None, target_tracking_configuration=None)

Bases: object

__init__(*, auto_scaling_group_name, adjustment_type=None, cooldown=None, estimated_instance_warmup=None, metric_aggregation_type=None, min_adjustment_magnitude=None, policy_type=None, scaling_adjustment=None, step_adjustments=None, target_tracking_configuration=None)

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

Parameters
  • auto_scaling_group_name (str) – AWS::AutoScaling::ScalingPolicy.AutoScalingGroupName.

  • adjustment_type (Optional[str]) – AWS::AutoScaling::ScalingPolicy.AdjustmentType.

  • cooldown (Optional[str]) – AWS::AutoScaling::ScalingPolicy.Cooldown.

  • estimated_instance_warmup (Union[int, float, None]) – AWS::AutoScaling::ScalingPolicy.EstimatedInstanceWarmup.

  • metric_aggregation_type (Optional[str]) – AWS::AutoScaling::ScalingPolicy.MetricAggregationType.

  • min_adjustment_magnitude (Union[int, float, None]) – AWS::AutoScaling::ScalingPolicy.MinAdjustmentMagnitude.

  • policy_type (Optional[str]) – AWS::AutoScaling::ScalingPolicy.PolicyType.

  • scaling_adjustment (Union[int, float, None]) – AWS::AutoScaling::ScalingPolicy.ScalingAdjustment.

  • step_adjustments (Union[IResolvable, None, List[Union[IResolvable, StepAdjustmentProperty]]]) – AWS::AutoScaling::ScalingPolicy.StepAdjustments.

  • target_tracking_configuration (Union[IResolvable, None, TargetTrackingConfigurationProperty]) – AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html

Attributes

adjustment_type

AWS::AutoScaling::ScalingPolicy.AdjustmentType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-adjustmenttype

Return type

Optional[str]

auto_scaling_group_name

AWS::AutoScaling::ScalingPolicy.AutoScalingGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-autoscalinggroupname

Return type

str

cooldown

AWS::AutoScaling::ScalingPolicy.Cooldown.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-cooldown

Return type

Optional[str]

estimated_instance_warmup

AWS::AutoScaling::ScalingPolicy.EstimatedInstanceWarmup.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-estimatedinstancewarmup

Return type

Union[int, float, None]

metric_aggregation_type

AWS::AutoScaling::ScalingPolicy.MetricAggregationType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-metricaggregationtype

Return type

Optional[str]

min_adjustment_magnitude

AWS::AutoScaling::ScalingPolicy.MinAdjustmentMagnitude.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-minadjustmentmagnitude

Return type

Union[int, float, None]

policy_type

AWS::AutoScaling::ScalingPolicy.PolicyType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-policytype

Return type

Optional[str]

scaling_adjustment

AWS::AutoScaling::ScalingPolicy.ScalingAdjustment.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-scalingadjustment

Return type

Union[int, float, None]

step_adjustments

AWS::AutoScaling::ScalingPolicy.StepAdjustments.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-stepadjustments

Return type

Union[IResolvable, None, List[Union[IResolvable, StepAdjustmentProperty]]]

target_tracking_configuration

AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-autoscaling-scalingpolicy-targettrackingconfiguration

Return type

Union[IResolvable, None, TargetTrackingConfigurationProperty]