@Stability(value=Stable) public static final class CfnUpdatePolicy.Builder extends Object
CfnUpdatePolicy| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnUpdatePolicy |
build()
Builds the configured instance.
|
CfnUpdatePolicy.Builder |
withAutoScalingReplacingUpdate(CfnAutoScalingReplacingUpdate value)
Sets the value of AutoScalingReplacingUpdate
|
CfnUpdatePolicy.Builder |
withAutoScalingRollingUpdate(CfnAutoScalingRollingUpdate value)
Sets the value of AutoScalingRollingUpdate
|
CfnUpdatePolicy.Builder |
withAutoScalingScheduledAction(CfnAutoScalingScheduledAction value)
Sets the value of AutoScalingScheduledAction
|
CfnUpdatePolicy.Builder |
withCodeDeployLambdaAliasUpdate(CfnCodeDeployLambdaAliasUpdate value)
Sets the value of CodeDeployLambdaAliasUpdate
|
CfnUpdatePolicy.Builder |
withUseOnlineResharding(Boolean value)
Sets the value of UseOnlineResharding
|
@Stability(value=Stable) public CfnUpdatePolicy.Builder withAutoScalingReplacingUpdate(@Nullable CfnAutoScalingReplacingUpdate value)
value - Specifies whether an Auto Scaling group and the instances it contains are replaced during an update.this@Stability(value=Stable) public CfnUpdatePolicy.Builder withAutoScalingRollingUpdate(@Nullable CfnAutoScalingRollingUpdate value)
value - To specify how AWS CloudFormation handles rolling updates for an Auto Scaling group, use the AutoScalingRollingUpdate policy.this@Stability(value=Stable) public CfnUpdatePolicy.Builder withAutoScalingScheduledAction(@Nullable CfnAutoScalingScheduledAction value)
value - 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.this@Stability(value=Stable) public CfnUpdatePolicy.Builder withCodeDeployLambdaAliasUpdate(@Nullable CfnCodeDeployLambdaAliasUpdate value)
value - To perform an AWS CodeDeploy deployment when the version changes on an AWS::Lambda::Alias resource, use the CodeDeployLambdaAliasUpdate update policy.this@Stability(value=Stable) public CfnUpdatePolicy.Builder withUseOnlineResharding(@Nullable Boolean value)
value - 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.this@Stability(value=Stable) public CfnUpdatePolicy build()
CfnUpdatePolicyNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.