public static final class CfnPipeline.ActionDeclarationProperty.Builder
extends java.lang.Object
CfnPipeline.ActionDeclarationProperty
Constructor and Description |
---|
Builder() |
public CfnPipeline.ActionDeclarationProperty.Builder actionTypeId(IResolvable actionTypeId)
CfnPipeline.ActionDeclarationProperty.getActionTypeId()
actionTypeId
- Specifies the action type and the provider of the action. This parameter is required.this
public CfnPipeline.ActionDeclarationProperty.Builder actionTypeId(CfnPipeline.ActionTypeIdProperty actionTypeId)
CfnPipeline.ActionDeclarationProperty.getActionTypeId()
actionTypeId
- Specifies the action type and the provider of the action. This parameter is required.this
public CfnPipeline.ActionDeclarationProperty.Builder name(java.lang.String name)
CfnPipeline.ActionDeclarationProperty.getName()
name
- The action declaration's name. This parameter is required.this
public CfnPipeline.ActionDeclarationProperty.Builder configuration(java.lang.Object configuration)
CfnPipeline.ActionDeclarationProperty.getConfiguration()
configuration
- The action's configuration.
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 },
this
public CfnPipeline.ActionDeclarationProperty.Builder inputArtifacts(IResolvable inputArtifacts)
CfnPipeline.ActionDeclarationProperty.getInputArtifacts()
inputArtifacts
- The name or ID of the artifact consumed by the action, such as a test or build artifact.
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 .
this
public CfnPipeline.ActionDeclarationProperty.Builder inputArtifacts(java.util.List<? extends java.lang.Object> inputArtifacts)
CfnPipeline.ActionDeclarationProperty.getInputArtifacts()
inputArtifacts
- The name or ID of the artifact consumed by the action, such as a test or build artifact.
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 .
this
public CfnPipeline.ActionDeclarationProperty.Builder namespace(java.lang.String namespace)
CfnPipeline.ActionDeclarationProperty.getNamespace()
namespace
- The variable namespace associated with the action.
All variables produced as output by this action fall under this namespace.this
public CfnPipeline.ActionDeclarationProperty.Builder outputArtifacts(IResolvable outputArtifacts)
CfnPipeline.ActionDeclarationProperty.getOutputArtifacts()
outputArtifacts
- The name or ID of the result of the action declaration, such as a test or build artifact.this
public CfnPipeline.ActionDeclarationProperty.Builder outputArtifacts(java.util.List<? extends java.lang.Object> outputArtifacts)
CfnPipeline.ActionDeclarationProperty.getOutputArtifacts()
outputArtifacts
- The name or ID of the result of the action declaration, such as a test or build artifact.this
public CfnPipeline.ActionDeclarationProperty.Builder region(java.lang.String region)
CfnPipeline.ActionDeclarationProperty.getRegion()
region
- The action declaration's AWS Region, such as us-east-1.this
public CfnPipeline.ActionDeclarationProperty.Builder roleArn(java.lang.String roleArn)
CfnPipeline.ActionDeclarationProperty.getRoleArn()
roleArn
- The ARN of the IAM service role that performs the declared action.
This is assumed through the roleArn for the pipeline.this
public CfnPipeline.ActionDeclarationProperty.Builder runOrder(java.lang.Number runOrder)
CfnPipeline.ActionDeclarationProperty.getRunOrder()
runOrder
- The order in which actions are run.this
public CfnPipeline.ActionDeclarationProperty build()
CfnPipeline.ActionDeclarationProperty
java.lang.NullPointerException
- if any required attribute was not provided