@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.442Z") @Stability(value=Experimental) public interface CfnUpdatePolicy extends software.amazon.jsii.JsiiSerializable
AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnUpdatePolicy.Builder
A builder for
CfnUpdatePolicy |
static class |
CfnUpdatePolicy.Jsii$Proxy
An implementation for
CfnUpdatePolicy |
| Modifier and Type | Method and Description |
|---|---|
static CfnUpdatePolicy.Builder |
builder() |
default CfnAutoScalingReplacingUpdate |
getAutoScalingReplacingUpdate()
(experimental) Specifies whether an Auto Scaling group and the instances it contains are replaced during an update.
|
default CfnAutoScalingRollingUpdate |
getAutoScalingRollingUpdate()
(experimental) To specify how AWS CloudFormation handles rolling updates for an Auto Scaling group, use the AutoScalingRollingUpdate policy.
|
default CfnAutoScalingScheduledAction |
getAutoScalingScheduledAction()
(experimental) To specify how AWS CloudFormation handles updates for the MinSize, MaxSize, and DesiredCapacity properties when the AWS::AutoScaling::AutoScalingGroup resource has an associated scheduled action, use the AutoScalingScheduledAction policy.
|
default CfnCodeDeployLambdaAliasUpdate |
getCodeDeployLambdaAliasUpdate()
(experimental) To perform an AWS CodeDeploy deployment when the version changes on an AWS::Lambda::Alias resource, use the CodeDeployLambdaAliasUpdate update policy.
|
default Boolean |
getEnableVersionUpgrade()
(experimental) To upgrade an Amazon ES domain to a new version of Elasticsearch rather than replacing the entire AWS::Elasticsearch::Domain resource, use the EnableVersionUpgrade update policy.
|
default Boolean |
getUseOnlineResharding()
(experimental) To modify a replication group's shards by adding or removing shards, rather than replacing the entire AWS::ElastiCache::ReplicationGroup resource, use the UseOnlineResharding update policy.
|
@Stability(value=Experimental) @Nullable default CfnAutoScalingReplacingUpdate getAutoScalingReplacingUpdate()
During replacement, AWS CloudFormation retains the old group until it finishes creating the new one. If the update fails, AWS CloudFormation can roll back to the old Auto Scaling group and delete the new Auto Scaling group.
@Stability(value=Experimental) @Nullable default CfnAutoScalingRollingUpdate getAutoScalingRollingUpdate()
Rolling updates enable you to specify whether AWS CloudFormation updates instances that are in an Auto Scaling group in batches or all at once.
@Stability(value=Experimental) @Nullable default CfnAutoScalingScheduledAction getAutoScalingScheduledAction()
@Stability(value=Experimental) @Nullable default CfnCodeDeployLambdaAliasUpdate getCodeDeployLambdaAliasUpdate()
@Stability(value=Experimental) @Nullable default Boolean getEnableVersionUpgrade()
@Stability(value=Experimental) @Nullable default Boolean getUseOnlineResharding()
@Stability(value=Experimental) static CfnUpdatePolicy.Builder builder()
CfnUpdatePolicy.Builder of CfnUpdatePolicyCopyright © 2021. All rights reserved.