A class to deploy a stack that is part of a CDK App, using CodePipeline. This composite Action takes care of preparing and executing a CloudFormation ChangeSet.
It currently does not support stacks that make use of
requires the deployed stack is in the same account and region where the
CodePipeline is hosted.
new PipelineDeployStackAction(props: Pipeline<wbr>Deploy<wbr>Stack<wbr>Action<wbr>Props)
|add||Add policy statements to the role deploying the stack.|
|bind(scope, stage, options)|
To Deployment Role Policy(statement)
public addToDeploymentRolePolicy(statement: Policy<wbr>Statement): void
Add policy statements to the role deploying the stack.
This role is passed to CloudFormation and must have the IAM permissions
necessary to deploy the stack or you can grant this role
by using that option during creation. If you do not grant
adminPermissions you need to identify the proper statements to add to
this role based on the CloudFormation Resources in your stack.
bind(scope, stage, options)
public bind(scope: Construct, stage: IStage, options: Action<wbr>Bind<wbr>Options): Action<wbr>Config
State Change(name, target?, options?)
public onStateChange(name: string, target?: IRule<wbr>Target, options?: Rule<wbr>Props): Rule