@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:56.629Z") @Stability(value=Experimental) public class CloudFormationCreateUpdateStackAction extends Action
Creates the stack if the specified stack doesn't exist. If the stack exists, AWS CloudFormation updates the stack. Use this action to update existing stacks.
AWS CodePipeline won't replace the stack, and will fail deployment if the
stack is in a failed state. Use ReplaceOnFailure for an action that
will delete and recreate the stack to try and recover from failed states.
Use this action to automatically replace failed stacks without recovering or troubleshooting them. You would typically choose this mode for testing.
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudFormationCreateUpdateStackAction.Builder
(experimental) A fluent builder for
CloudFormationCreateUpdateStackAction. |
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
CloudFormationCreateUpdateStackAction(CloudFormationCreateUpdateStackActionProps props) |
protected |
CloudFormationCreateUpdateStackAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudFormationCreateUpdateStackAction(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
addToDeploymentRolePolicy(PolicyStatement statement)
(experimental) Add statement to the service role assumed by CloudFormation while executing this action.
|
protected ActionConfig |
bound(software.constructs.Construct scope,
IStage stage,
ActionBindOptions options)
(experimental) This is a renamed version of the
IAction.bind method. |
IRole |
getDeploymentRole() |
getProvidedActionPropertiesbind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpressionjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CloudFormationCreateUpdateStackAction(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudFormationCreateUpdateStackAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public CloudFormationCreateUpdateStackAction(@NotNull
CloudFormationCreateUpdateStackActionProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull public Boolean addToDeploymentRolePolicy(@NotNull PolicyStatement statement)
statement - This parameter is required.@Stability(value=Experimental) @NotNull protected ActionConfig bound(@NotNull software.constructs.Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options)
IAction.bind method.
@Stability(value=Experimental) @NotNull public IRole getDeploymentRole()
Copyright © 2021. All rights reserved.