Class CfnAutoScalingScheduledAction
With scheduled actions, the group size properties of an Auto Scaling group can change at any time.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAutoScalingScheduledAction : ICfnAutoScalingScheduledAction
Syntax (vb)
Public Class CfnAutoScalingScheduledAction Implements ICfnAutoScalingScheduledAction
Remarks
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.\
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnAutoScalingScheduledAction = new CfnAutoScalingScheduledAction {
IgnoreUnmodifiedGroupSizeProperties = false
};
Synopsis
Constructors
CfnAutoScalingScheduledAction() | With scheduled actions, the group size properties of an Auto Scaling group can change at any time. |
Properties
IgnoreUnmodifiedGroupSizeProperties | With scheduled actions, the group size properties of an Auto Scaling group can change at any time. |
Constructors
CfnAutoScalingScheduledAction()
With scheduled actions, the group size properties of an Auto Scaling group can change at any time.
public CfnAutoScalingScheduledAction()
Remarks
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.\
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnAutoScalingScheduledAction = new CfnAutoScalingScheduledAction {
IgnoreUnmodifiedGroupSizeProperties = false
};
Properties
IgnoreUnmodifiedGroupSizeProperties
With scheduled actions, the group size properties of an Auto Scaling group can change at any time.
public bool? IgnoreUnmodifiedGroupSizeProperties { get; set; }
Property Value
bool?
Remarks
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.\
ExampleMetadata: fixture=_generated