@Stability(value=Experimental) public static final class PipelineDeployStackAction.Builder extends Object implements software.amazon.jsii.Builder<PipelineDeployStackAction>
PipelineDeployStackAction.| Modifier and Type | Method and Description |
|---|---|
PipelineDeployStackAction.Builder |
adminPermissions(Boolean adminPermissions)
(experimental) Whether to grant admin permissions to CloudFormation while deploying this template.
|
PipelineDeployStackAction |
build() |
PipelineDeployStackAction.Builder |
capabilities(List<? extends CloudFormationCapabilities> capabilities)
(experimental) Acknowledge certain changes made as part of deployment.
|
PipelineDeployStackAction.Builder |
changeSetName(String changeSetName)
(experimental) The name to use when creating a ChangeSet for the stack.
|
static PipelineDeployStackAction.Builder |
create() |
PipelineDeployStackAction.Builder |
createChangeSetActionName(String createChangeSetActionName)
(experimental) The name of the CodePipeline action creating the ChangeSet.
|
PipelineDeployStackAction.Builder |
createChangeSetRunOrder(Number createChangeSetRunOrder)
(experimental) The runOrder for the CodePipeline action creating the ChangeSet.
|
PipelineDeployStackAction.Builder |
executeChangeSetActionName(String executeChangeSetActionName)
(experimental) The name of the CodePipeline action creating the ChangeSet.
|
PipelineDeployStackAction.Builder |
executeChangeSetRunOrder(Number executeChangeSetRunOrder)
(experimental) The runOrder for the CodePipeline action executing the ChangeSet.
|
PipelineDeployStackAction.Builder |
input(Artifact input)
(experimental) The CodePipeline artifact that holds the synthesized app, which is the contents of the ``
|
PipelineDeployStackAction.Builder |
role(IRole role)
(experimental) IAM role to assume when deploying changes.
|
PipelineDeployStackAction.Builder |
stack(Stack stack)
(experimental) The CDK stack to be deployed.
|
@Stability(value=Experimental) public static PipelineDeployStackAction.Builder create()
PipelineDeployStackAction.Builder.@Stability(value=Experimental) public PipelineDeployStackAction.Builder adminPermissions(Boolean adminPermissions)
Setting this to true affects the defaults for role and capabilities, if you
don't specify any alternatives.
The default role that will be created for you will have admin (i.e., *)
permissions on all resources, and the deployment will have named IAM
capabilities (i.e., able to create all IAM resources).
This is a shorthand that you can use if you fully trust the templates that
are deployed in this pipeline. If you want more fine-grained permissions,
use addToRolePolicy and capabilities to control what the CloudFormation
deployment is allowed to do.
adminPermissions - Whether to grant admin permissions to CloudFormation while deploying this template. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction.Builder input(Artifact input)
input - The CodePipeline artifact that holds the synthesized app, which is the contents of the ``this@Stability(value=Experimental) public PipelineDeployStackAction.Builder stack(Stack stack)
stack - The CDK stack to be deployed. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction.Builder capabilities(List<? extends CloudFormationCapabilities> capabilities)
For stacks that contain certain resources, explicit acknowledgement that AWS CloudFormation might create or update those resources. For example, you must specify AnonymousIAM if your stack template contains AWS Identity and Access Management (IAM) resources. For more information
Default: [AnonymousIAM, AutoExpand], unless `adminPermissions` is true
capabilities - Acknowledge certain changes made as part of deployment. This parameter is required.thishttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities@Stability(value=Experimental) public PipelineDeployStackAction.Builder changeSetName(String changeSetName)
Default: CDK-CodePipeline-ChangeSet
changeSetName - The name to use when creating a ChangeSet for the stack. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction.Builder createChangeSetActionName(String createChangeSetActionName)
Default: 'ChangeSet'
createChangeSetActionName - The name of the CodePipeline action creating the ChangeSet. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction.Builder createChangeSetRunOrder(Number createChangeSetRunOrder)
Default: 1
createChangeSetRunOrder - The runOrder for the CodePipeline action creating the ChangeSet. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction.Builder executeChangeSetActionName(String executeChangeSetActionName)
Default: 'Execute'
executeChangeSetActionName - The name of the CodePipeline action creating the ChangeSet. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction.Builder executeChangeSetRunOrder(Number executeChangeSetRunOrder)
Default: ``createChangeSetRunOrder + 1``
executeChangeSetRunOrder - The runOrder for the CodePipeline action executing the ChangeSet. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction.Builder role(IRole role)
If not specified, a fresh role is created. The role is created with zero
permissions unless adminPermissions is true, in which case the role will have
admin permissions.
Default: A fresh role with admin or no permissions (depending on the value of `adminPermissions`).
role - IAM role to assume when deploying changes. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackAction build()
build in interface software.amazon.jsii.Builder<PipelineDeployStackAction>Copyright © 2022. All rights reserved.