@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-11T12:53:02.468Z") @Stability(value=Stable) 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()
The account the Action is supposed to live in.
|
String |
getActionName() |
ActionArtifactBounds |
getArtifactBounds() |
ActionCategory |
getCategory()
The category of the action.
|
default List<Artifact> |
getInputs() |
default List<Artifact> |
getOutputs() |
default String |
getOwner() |
String |
getProvider()
The service provider that the action calls.
|
default String |
getRegion()
The AWS region the given Action resides in.
|
default IResource |
getResource()
The optional resource that is backing this Action.
|
default IRole |
getRole() |
default Number |
getRunOrder()
The order in which AWS CodePipeline runs this action.
|
default String |
getVariablesNamespace()
The name of the namespace to use for variables emitted by this action.
|
default String |
getVersion() |
@Stability(value=Stable) @NotNull String getActionName()
@Stability(value=Stable) @NotNull ActionArtifactBounds getArtifactBounds()
@Stability(value=Stable) @NotNull ActionCategory getCategory()
The category defines which action type the owner (the entity that performs the action) performs.
@Stability(value=Stable) @NotNull String getProvider()
@Stability(value=Stable) @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=Stable) @Nullable default String getOwner()
@Stability(value=Stable) @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=Stable) @Nullable default IResource getResource()
This is used for automatically handling Actions backed by resources from a different account and/or region.
@Stability(value=Stable) @Nullable default IRole getRole()
@Stability(value=Stable) @Nullable default Number getRunOrder()
https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements
@Stability(value=Stable) @Nullable default String getVariablesNamespace()
Default: - a name will be generated, based on the stage and action names
@Stability(value=Stable) @Nullable default String getVersion()
@Stability(value=Stable) static ActionProperties.Builder builder()
ActionProperties.Builder of ActionPropertiesCopyright © 2020. All rights reserved.