All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateUpdateStackAction Maven / Gradle / Ivy

package software.amazon.awscdk.services.codepipeline.actions;

/**
 * CodePipeline action to deploy a stack.
 * 
 * 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.
 */
@javax.annotation.Generated(value = "jsii-pacmak/0.10.3 (build 6bbf743)", date = "2019-05-02T10:15:47.464Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.codepipeline.actions.$Module.class, fqn = "@aws-cdk/aws-codepipeline-actions.CloudFormationCreateUpdateStackAction")
public class CloudFormationCreateUpdateStackAction extends software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeployAction {
    protected CloudFormationCreateUpdateStackAction(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
        super(mode);
    }
    public CloudFormationCreateUpdateStackAction(final software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateUpdateStackActionProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * The method called when an Action is attached to a Pipeline. This method is guaranteed to be called only once for each Action instance.
     */
    @Override
    protected void bind(final software.amazon.awscdk.services.codepipeline.ActionBind info) {
        this.jsiiCall("bind", Void.class, new Object[] { java.util.Objects.requireNonNull(info, "info is required") });
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy