Class PipelineDeployStackAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PipelineDeployStackAction>
- Enclosing class:
- PipelineDeployStackAction
PipelineDeployStackAction
.-
Method Summary
Modifier and TypeMethodDescriptionadminPermissions
(Boolean adminPermissions) Deprecated.build()
Deprecated.capabilities
(List<? extends CloudFormationCapabilities> capabilities) Deprecated.changeSetName
(String changeSetName) Deprecated.create()
Deprecated.createChangeSetActionName
(String createChangeSetActionName) Deprecated.createChangeSetRunOrder
(Number createChangeSetRunOrder) Deprecated.executeChangeSetActionName
(String executeChangeSetActionName) Deprecated.executeChangeSetRunOrder
(Number executeChangeSetRunOrder) Deprecated.Deprecated.Deprecated.Deprecated.
-
Method Details
-
create
Deprecated.- Returns:
- a new instance of
PipelineDeployStackAction.Builder
.
-
adminPermissions
@Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder adminPermissions(Boolean adminPermissions) Deprecated.(deprecated) Whether to grant admin permissions to CloudFormation while deploying this template.Setting this to
true
affects the defaults forrole
andcapabilities
, 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
andcapabilities
to control what the CloudFormation deployment is allowed to do.- Parameters:
adminPermissions
- Whether to grant admin permissions to CloudFormation while deploying this template. This parameter is required.- Returns:
this
-
input
Deprecated.(deprecated) The CodePipeline artifact that holds the synthesized app, which is the contents of the<directory>
when runningcdk synth -o <directory>
.- Parameters:
input
- The CodePipeline artifact that holds the synthesized app, which is the contents of the<directory>
when runningcdk synth -o <directory>
. This parameter is required.- Returns:
this
-
stack
Deprecated.(deprecated) The CDK stack to be deployed.- Parameters:
stack
- The CDK stack to be deployed. This parameter is required.- Returns:
this
-
capabilities
@Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder capabilities(List<? extends CloudFormationCapabilities> capabilities) Deprecated.(deprecated) Acknowledge certain changes made as part of deployment.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
- Parameters:
capabilities
- Acknowledge certain changes made as part of deployment. This parameter is required.- Returns:
this
- See Also:
-
changeSetName
@Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder changeSetName(String changeSetName) Deprecated.(deprecated) The name to use when creating a ChangeSet for the stack.Default: CDK-CodePipeline-ChangeSet
- Parameters:
changeSetName
- The name to use when creating a ChangeSet for the stack. This parameter is required.- Returns:
this
-
createChangeSetActionName
@Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder createChangeSetActionName(String createChangeSetActionName) Deprecated.(deprecated) The name of the CodePipeline action creating the ChangeSet.Default: 'ChangeSet'
- Parameters:
createChangeSetActionName
- The name of the CodePipeline action creating the ChangeSet. This parameter is required.- Returns:
this
-
createChangeSetRunOrder
@Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder createChangeSetRunOrder(Number createChangeSetRunOrder) Deprecated.(deprecated) The runOrder for the CodePipeline action creating the ChangeSet.Default: 1
- Parameters:
createChangeSetRunOrder
- The runOrder for the CodePipeline action creating the ChangeSet. This parameter is required.- Returns:
this
-
executeChangeSetActionName
@Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder executeChangeSetActionName(String executeChangeSetActionName) Deprecated.(deprecated) The name of the CodePipeline action creating the ChangeSet.Default: 'Execute'
- Parameters:
executeChangeSetActionName
- The name of the CodePipeline action creating the ChangeSet. This parameter is required.- Returns:
this
-
executeChangeSetRunOrder
@Stability(Deprecated) @Deprecated public PipelineDeployStackAction.Builder executeChangeSetRunOrder(Number executeChangeSetRunOrder) Deprecated.(deprecated) The runOrder for the CodePipeline action executing the ChangeSet.Default: ``createChangeSetRunOrder + 1``
- Parameters:
executeChangeSetRunOrder
- The runOrder for the CodePipeline action executing the ChangeSet. This parameter is required.- Returns:
this
-
role
Deprecated.(deprecated) IAM role to assume when deploying changes.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`).
- Parameters:
role
- IAM role to assume when deploying changes. This parameter is required.- Returns:
this
-
build
Deprecated.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PipelineDeployStackAction>
- Returns:
- a newly built instance of
PipelineDeployStackAction
.
-