@Stability(value=Experimental) public static final class CloudFormationExecuteChangeSetAction.Builder extends Object implements software.amazon.jsii.Builder<CloudFormationExecuteChangeSetAction>
CloudFormationExecuteChangeSetAction
.Modifier and Type | Method and Description |
---|---|
CloudFormationExecuteChangeSetAction.Builder |
account(String account)
(experimental) The AWS account this Action is supposed to operate in.
|
CloudFormationExecuteChangeSetAction.Builder |
actionName(String actionName)
(experimental) The physical, human-readable name of the Action.
|
CloudFormationExecuteChangeSetAction |
build() |
CloudFormationExecuteChangeSetAction.Builder |
changeSetName(String changeSetName)
(experimental) Name of the change set to execute.
|
static CloudFormationExecuteChangeSetAction.Builder |
create() |
CloudFormationExecuteChangeSetAction.Builder |
output(Artifact output)
(experimental) The name of the output artifact to generate.
|
CloudFormationExecuteChangeSetAction.Builder |
outputFileName(String outputFileName)
(experimental) A name for the filename in the output artifact to store the AWS CloudFormation call's result.
|
CloudFormationExecuteChangeSetAction.Builder |
region(String region)
(experimental) The AWS region the given Action resides in.
|
CloudFormationExecuteChangeSetAction.Builder |
role(IRole role)
(experimental) The Role in which context's this Action will be executing in.
|
CloudFormationExecuteChangeSetAction.Builder |
runOrder(Number runOrder)
(experimental) The runOrder property for this Action.
|
CloudFormationExecuteChangeSetAction.Builder |
stackName(String stackName)
(experimental) The name of the stack to apply this action to.
|
CloudFormationExecuteChangeSetAction.Builder |
variablesNamespace(String variablesNamespace)
(experimental) The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Experimental) public static CloudFormationExecuteChangeSetAction.Builder create()
CloudFormationExecuteChangeSetAction.Builder
.@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder actionName(String actionName)
Note that Action names must be unique within a single Stage.
actionName
- The physical, human-readable name of the Action. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder runOrder(Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder
- The runOrder property for this Action. This parameter is required.this
https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder variablesNamespace(String variablesNamespace)
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
variablesNamespace
- The name of the namespace to use for variables emitted by this action. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder role(IRole role)
The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your {@link IAction.bind} method in the {@link ActionBindOptions.role} property.
Default: a new Role will be generated
role
- The Role in which context's this Action will be executing in. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder changeSetName(String changeSetName)
changeSetName
- Name of the change set to execute. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder stackName(String stackName)
stackName
- The name of the stack to apply this action to. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder account(String account)
Note: if you specify the role
property,
this is ignored - the action will operate in the same region the passed role does.
Default: - action resides in the same account as the pipeline
account
- The AWS account this Action is supposed to operate in. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder output(Artifact output)
Only applied if outputFileName
is set as well.
Default: Automatically generated artifact name.
output
- The name of the output artifact to generate. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder outputFileName(String outputFileName)
The file will contain the result of the call to AWS CloudFormation (for example the call to UpdateStack or CreateChangeSet).
AWS CodePipeline adds the file to the output artifact after performing the specified action.
Default: No output artifact generated
outputFileName
- A name for the filename in the output artifact to store the AWS CloudFormation call's result. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction.Builder region(String region)
Note that a cross-region Pipeline requires replication buckets to function correctly.
You can provide their names with the {@link PipelineProps#crossRegionReplicationBuckets} property.
If you don't, the CodePipeline Construct will create new Stacks in your CDK app containing those buckets,
that you will need to cdk deploy
before deploying the main, Pipeline-containing Stack.
Default: the Action resides in the same region as the Pipeline
region
- The AWS region the given Action resides in. This parameter is required.this
@Stability(value=Experimental) public CloudFormationExecuteChangeSetAction build()
build
in interface software.amazon.jsii.Builder<CloudFormationExecuteChangeSetAction>
Copyright © 2021. All rights reserved.