CfnAutoScalingScheduledAction

class aws_cdk.core.CfnAutoScalingScheduledAction(*, ignore_unmodified_group_size_properties=None)

Bases: object

With scheduled actions, the group size properties of an Auto Scaling group can change at any time.

When you update a stack with an Auto Scaling group and scheduled action, AWS CloudFormation always sets the group size property values of your Auto Scaling group to the values that are defined in the AWS::AutoScaling::AutoScalingGroup resource of your template, even if a scheduled action is in effect.

If you do not want AWS CloudFormation to change any of the group size property values when you have a scheduled action in effect, use the AutoScalingScheduledAction update policy to prevent AWS CloudFormation from changing the MinSize, MaxSize, or DesiredCapacity properties unless you have modified these values in your template.

Parameters:

ignore_unmodified_group_size_properties (Optional[bool]) –

ExampleMetadata:

fixture=_generated

Example:

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

cfn_auto_scaling_scheduled_action = cdk.CfnAutoScalingScheduledAction(
    ignore_unmodified_group_size_properties=False
)

Attributes

ignore_unmodified_group_size_properties