@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-28T18:14:31.795Z") @Stability(value=Stable) public interface CfnAutoScalingScheduledAction extends software.amazon.jsii.JsiiSerializable
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.\
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; CfnAutoScalingScheduledAction cfnAutoScalingScheduledAction = CfnAutoScalingScheduledAction.builder() .ignoreUnmodifiedGroupSizeProperties(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnAutoScalingScheduledAction.Builder
A builder for
CfnAutoScalingScheduledAction |
static class |
CfnAutoScalingScheduledAction.Jsii$Proxy
An implementation for
CfnAutoScalingScheduledAction |
Modifier and Type | Method and Description |
---|---|
static CfnAutoScalingScheduledAction.Builder |
builder() |
default Boolean |
getIgnoreUnmodifiedGroupSizeProperties() |
@Stability(value=Stable) @Nullable default Boolean getIgnoreUnmodifiedGroupSizeProperties()
@Stability(value=Stable) static CfnAutoScalingScheduledAction.Builder builder()
Copyright © 2022. All rights reserved.