@Stability(value=Experimental) public static final class PipelineDeployStackActionProps.Builder extends Object implements software.amazon.jsii.Builder<PipelineDeployStackActionProps>
PipelineDeployStackActionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder adminPermissions(Boolean adminPermissions)
PipelineDeployStackActionProps.getAdminPermissions()adminPermissions - Whether to grant admin permissions to CloudFormation while deploying this template. This parameter is required.
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.
this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder input(Artifact input)
PipelineDeployStackActionProps.getInput()input - The CodePipeline artifact that holds the synthesized app, which is the contents of the ``this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder stack(Stack stack)
PipelineDeployStackActionProps.getStack()stack - The CDK stack to be deployed. This parameter is required.this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder capabilities(List<? extends CloudFormationCapabilities> capabilities)
PipelineDeployStackActionProps.getCapabilities()capabilities - 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
informationthis@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder changeSetName(String changeSetName)
PipelineDeployStackActionProps.getChangeSetName()changeSetName - The name to use when creating a ChangeSet for the stack.this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder createChangeSetActionName(String createChangeSetActionName)
PipelineDeployStackActionProps.getCreateChangeSetActionName()createChangeSetActionName - The name of the CodePipeline action creating the ChangeSet.this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder createChangeSetRunOrder(Number createChangeSetRunOrder)
PipelineDeployStackActionProps.getCreateChangeSetRunOrder()createChangeSetRunOrder - The runOrder for the CodePipeline action creating the ChangeSet.this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder executeChangeSetActionName(String executeChangeSetActionName)
PipelineDeployStackActionProps.getExecuteChangeSetActionName()executeChangeSetActionName - The name of the CodePipeline action creating the ChangeSet.this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder executeChangeSetRunOrder(Number executeChangeSetRunOrder)
PipelineDeployStackActionProps.getExecuteChangeSetRunOrder()executeChangeSetRunOrder - The runOrder for the CodePipeline action executing the ChangeSet.this@Stability(value=Experimental) public PipelineDeployStackActionProps.Builder role(IRole role)
PipelineDeployStackActionProps.getRole()role - 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.this@Stability(value=Experimental) public PipelineDeployStackActionProps build()
build in interface software.amazon.jsii.Builder<PipelineDeployStackActionProps>PipelineDeployStackActionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.