@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:07.376Z") @Stability(value=Experimental) public interface ActionProperties extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ActionProperties.Builder
A builder for
ActionProperties |
static class |
ActionProperties.Jsii$Proxy
An implementation for
ActionProperties |
| Modifier and Type | Method and Description |
|---|---|
static ActionProperties.Builder |
builder() |
default String |
getAccount()
(experimental) The account the Action is supposed to live in.
|
String |
getActionName() |
ActionArtifactBounds |
getArtifactBounds() |
ActionCategory |
getCategory()
(experimental) The category of the action.
|
default List<Artifact> |
getInputs() |
default List<Artifact> |
getOutputs() |
default String |
getOwner() |
String |
getProvider()
(experimental) The service provider that the action calls.
|
default String |
getRegion()
(experimental) The AWS region the given Action resides in.
|
default IResource |
getResource()
(experimental) The optional resource that is backing this Action.
|
default IRole |
getRole() |
default Number |
getRunOrder()
(experimental) The order in which AWS CodePipeline runs this action.
|
default String |
getVariablesNamespace()
(experimental) The name of the namespace to use for variables emitted by this action.
|
default String |
getVersion() |
@Stability(value=Experimental) @NotNull String getActionName()
@Stability(value=Experimental) @NotNull ActionArtifactBounds getArtifactBounds()
@Stability(value=Experimental) @NotNull ActionCategory getCategory()
The category defines which action type the owner (the entity that performs the action) performs.
@Stability(value=Experimental) @NotNull String getProvider()
@Stability(value=Experimental) @Nullable default String getAccount()
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.
@Stability(value=Experimental) @Nullable default String getOwner()
@Stability(value=Experimental) @Nullable default String getRegion()
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
@Stability(value=Experimental) @Nullable default IResource getResource()
This is used for automatically handling Actions backed by resources from a different account and/or region.
@Stability(value=Experimental) @Nullable default IRole getRole()
@Stability(value=Experimental) @Nullable default Number getRunOrder()
https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements
@Stability(value=Experimental) @Nullable default String getVariablesNamespace()
Default: - a name will be generated, based on the stage and action names
@Stability(value=Experimental) @Nullable default String getVersion()
@Stability(value=Experimental) static ActionProperties.Builder builder()
ActionProperties.Builder of ActionPropertiesCopyright © 2021. All rights reserved.