@Stability(value=Stable) public static final class CfnPipeline.ActionDeclarationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnPipeline.ActionDeclarationProperty>
CfnPipeline.ActionDeclarationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) 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@Stability(value=Stable) 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@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder name(String name)
CfnPipeline.ActionDeclarationProperty.getName()name - The action declaration's name. This parameter is required.this@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder configuration(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@Stability(value=Stable) 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.
While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide .
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@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder inputArtifacts(List<? extends Object> inputArtifacts)
CfnPipeline.ActionDeclarationProperty.getInputArtifacts()inputArtifacts - The name or ID of the artifact consumed by the action, such as a test or build artifact.
While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide .
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@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder namespace(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@Stability(value=Stable) 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.
While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide .this@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder outputArtifacts(List<? extends Object> outputArtifacts)
CfnPipeline.ActionDeclarationProperty.getOutputArtifacts()outputArtifacts - The name or ID of the result of the action declaration, such as a test or build artifact.
While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the Action structure reference in the AWS CodePipeline User Guide .this@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder region(String region)
CfnPipeline.ActionDeclarationProperty.getRegion()region - The action declaration's AWS Region, such as us-east-1.this@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder roleArn(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@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty.Builder runOrder(Number runOrder)
CfnPipeline.ActionDeclarationProperty.getRunOrder()runOrder - The order in which actions are run.this@Stability(value=Stable) public CfnPipeline.ActionDeclarationProperty build()
build in interface software.amazon.jsii.Builder<CfnPipeline.ActionDeclarationProperty>CfnPipeline.ActionDeclarationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.