@Stability(value=Experimental) public static final class ActionProperties.Builder extends Object implements software.amazon.jsii.Builder<ActionProperties>
ActionProperties| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public ActionProperties.Builder actionName(String actionName)
ActionProperties.getActionName()actionName - the value to be set. This parameter is required.this@Stability(value=Experimental) public ActionProperties.Builder artifactBounds(ActionArtifactBounds artifactBounds)
ActionProperties.getArtifactBounds()artifactBounds - the value to be set. This parameter is required.this@Stability(value=Experimental) public ActionProperties.Builder category(ActionCategory category)
ActionProperties.getCategory()category - The category of the action. This parameter is required.
The category defines which action type the owner
(the entity that performs the action) performs.this@Stability(value=Experimental) public ActionProperties.Builder provider(String provider)
ActionProperties.getProvider()provider - The service provider that the action calls. This parameter is required.this@Stability(value=Experimental) public ActionProperties.Builder account(String account)
ActionProperties.getAccount()account - The account the Action is supposed to live in.
For Actions backed by resources,
this is inferred from the Stack {@link resource} is part of.
However, some Actions, like the CloudFormation ones,
are not backed by any resource, and they still might want to be cross-account.
In general, a concrete Action class should specify either {@link resource},
or {@link account} - but not both.this@Stability(value=Experimental) public ActionProperties.Builder inputs(List<? extends Artifact> inputs)
ActionProperties.getInputs()inputs - the value to be set.this@Stability(value=Experimental) public ActionProperties.Builder outputs(List<? extends Artifact> outputs)
ActionProperties.getOutputs()outputs - the value to be set.this@Stability(value=Experimental) public ActionProperties.Builder owner(String owner)
ActionProperties.getOwner()owner - the value to be set.this@Stability(value=Experimental) public ActionProperties.Builder region(String region)
ActionProperties.getRegion()region - The AWS region the given Action resides in.
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.this@Stability(value=Experimental) public ActionProperties.Builder resource(IResource resource)
ActionProperties.getResource()resource - The optional resource that is backing this Action.
This is used for automatically handling Actions backed by
resources from a different account and/or region.this@Stability(value=Experimental) public ActionProperties.Builder role(IRole role)
ActionProperties.getRole()role - the value to be set.this@Stability(value=Experimental) public ActionProperties.Builder runOrder(Number runOrder)
ActionProperties.getRunOrder()runOrder - The order in which AWS CodePipeline runs this action. For more information, see the AWS CodePipeline User Guide.
https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirementsthis@Stability(value=Experimental) public ActionProperties.Builder variablesNamespace(String variablesNamespace)
ActionProperties.getVariablesNamespace()variablesNamespace - The name of the namespace to use for variables emitted by this action.this@Stability(value=Experimental) public ActionProperties.Builder version(String version)
ActionProperties.getVersion()version - the value to be set.this@Stability(value=Experimental) public ActionProperties build()
build in interface software.amazon.jsii.Builder<ActionProperties>ActionPropertiesNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.