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.
new CloudFormationCreateUpdateStackAction(props: CloudFormationCreateUpdateStackActionProps)
|add||Add statement to the service role assumed by CloudFormation while executing this action.|
|bind(scope, stage, options)|
|protected bound(scope, stage, options)||The method called when an Action is attached to a Pipeline.|
To Deployment Role Policy(statement)
public addToDeploymentRolePolicy(statement: PolicyStatement): boolean
Add statement to the service role assumed by CloudFormation while executing this action.
bind(scope, stage, options)
public bind(scope: Construct, stage: IStage, options: ActionBindOptions): ActionConfig
State Change(name, target?, options?)
public onStateChange(name: string, target?: IRuleTarget, options?: RuleProps): Rule
protected bound(scope, stage, options)
protected bound(scope: Construct, stage: IStage, options: ActionBindOptions): ActionConfig
The method called when an Action is attached to a Pipeline.
This method is guaranteed to be called only once for each Action instance.