@Stability(value=Stable)
public static interface CfnPipeline.ActionDeclarationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
Object configuration;
ActionDeclarationProperty actionDeclarationProperty = ActionDeclarationProperty.builder()
.actionTypeId(ActionTypeIdProperty.builder()
.category("category")
.owner("owner")
.provider("provider")
.version("version")
.build())
.name("name")
// the properties below are optional
.configuration(configuration)
.inputArtifacts(List.of(InputArtifactProperty.builder()
.name("name")
.build()))
.namespace("namespace")
.outputArtifacts(List.of(OutputArtifactProperty.builder()
.name("name")
.build()))
.region("region")
.roleArn("roleArn")
.runOrder(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPipeline.ActionDeclarationProperty.Builder
A builder for
CfnPipeline.ActionDeclarationProperty |
static class |
CfnPipeline.ActionDeclarationProperty.Jsii$Proxy
An implementation for
CfnPipeline.ActionDeclarationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPipeline.ActionDeclarationProperty.Builder |
builder() |
Object |
getActionTypeId()
Specifies the action type and the provider of the action.
|
default Object |
getConfiguration()
The action's configuration.
|
default Object |
getInputArtifacts()
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
String |
getName()
The action declaration's name.
|
default String |
getNamespace()
The variable namespace associated with the action.
|
default Object |
getOutputArtifacts()
The name or ID of the result of the action declaration, such as a test or build artifact.
|
default String |
getRegion()
The action declaration's AWS Region, such as us-east-1.
|
default String |
getRoleArn()
The ARN of the IAM service role that performs the declared action.
|
default Number |
getRunOrder()
The order in which actions are run.
|
@Stability(value=Stable) @NotNull Object getActionTypeId()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getConfiguration()
These are key-value pairs that specify input values for an action. For more information, see Action Structure Requirements in CodePipeline . For the list of configuration properties for the AWS CloudFormation action type in CodePipeline, see Configuration Properties Reference in the AWS CloudFormation User Guide . For template snippets with examples, see Using Parameter Override Functions with CodePipeline Pipelines in the AWS CloudFormation User Guide .
The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows:
JSON:
"Configuration" : { Key : Value },
@Stability(value=Stable) @Nullable default Object getInputArtifacts()
For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the CodeBuild action reference page in the AWS CodePipeline User Guide .
@Stability(value=Stable) @Nullable default String getNamespace()
All variables produced as output by this action fall under this namespace.
@Stability(value=Stable) @Nullable default Object getOutputArtifacts()
@Stability(value=Stable) @Nullable default String getRegion()
@Stability(value=Stable) @Nullable default String getRoleArn()
This is assumed through the roleArn for the pipeline.
@Stability(value=Stable) @Nullable default Number getRunOrder()
@Stability(value=Stable) static CfnPipeline.ActionDeclarationProperty.Builder builder()
Copyright © 2022. All rights reserved.