@Stability(value=Experimental) public static final class BitBucketSourceAction.Builder extends Object implements software.amazon.jsii.Builder<BitBucketSourceAction>
BitBucketSourceAction.| Modifier and Type | Method and Description |
|---|---|
BitBucketSourceAction.Builder |
actionName(String actionName)
The physical, human-readable name of the Action.
|
BitBucketSourceAction.Builder |
branch(String branch)
The branch to build.
|
BitBucketSourceAction |
build() |
BitBucketSourceAction.Builder |
codeBuildCloneOutput(Boolean codeBuildCloneOutput)
Whether the output should be the contents of the repository (which is the default), or a link that allows CodeBuild to clone the repository before building.
|
BitBucketSourceAction.Builder |
connectionArn(String connectionArn)
The ARN of the CodeStar Connection created in the AWS console that has permissions to access this BitBucket repository.
|
static BitBucketSourceAction.Builder |
create()
EXPERIMENTAL
|
BitBucketSourceAction.Builder |
output(Artifact output)
The output artifact that this action produces.
|
BitBucketSourceAction.Builder |
owner(String owner)
The owning user or organization of the repository.
|
BitBucketSourceAction.Builder |
repo(String repo)
The name of the repository.
|
BitBucketSourceAction.Builder |
role(IRole role)
The Role in which context's this Action will be executing in.
|
BitBucketSourceAction.Builder |
runOrder(Number runOrder)
The runOrder property for this Action.
|
BitBucketSourceAction.Builder |
variablesNamespace(String variablesNamespace)
The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Experimental) public static BitBucketSourceAction.Builder create()
BitBucketSourceAction.Builder.@Stability(value=Stable) public BitBucketSourceAction.Builder actionName(String actionName)
Note that Action names must be unique within a single Stage.
actionName - The physical, human-readable name of the Action. This parameter is required.this@Stability(value=Stable) public BitBucketSourceAction.Builder runOrder(Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder - The runOrder property for this Action. This parameter is required.thishttps://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html@Stability(value=Stable) public BitBucketSourceAction.Builder variablesNamespace(String variablesNamespace)
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
variablesNamespace - The name of the namespace to use for variables emitted by this action. This parameter is required.this@Stability(value=Stable) public BitBucketSourceAction.Builder role(IRole role)
The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your {@link IAction.bind} method in the {@link ActionBindOptions.role} property.
Default: a new Role will be generated
role - The Role in which context's this Action will be executing in. This parameter is required.this@Stability(value=Experimental) public BitBucketSourceAction.Builder connectionArn(String connectionArn)
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "arn:aws:codestar-connections:us-east-1:123456789012:connection/12345678-abcd-12ab-34cdef5678gh";
EXPERIMENTAL
connectionArn - The ARN of the CodeStar Connection created in the AWS console that has permissions to access this BitBucket repository. This parameter is required.thishttps://docs.aws.amazon.com/codepipeline/latest/userguide/connections-create.html@Stability(value=Experimental) public BitBucketSourceAction.Builder output(Artifact output)
Can be used as input for further pipeline actions.
EXPERIMENTAL
output - The output artifact that this action produces. This parameter is required.this@Stability(value=Experimental) public BitBucketSourceAction.Builder owner(String owner)
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "aws";
EXPERIMENTAL
owner - The owning user or organization of the repository. This parameter is required.this@Stability(value=Experimental) public BitBucketSourceAction.Builder repo(String repo)
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "aws-cdk";
EXPERIMENTAL
repo - The name of the repository. This parameter is required.this@Stability(value=Experimental) public BitBucketSourceAction.Builder branch(String branch)
Default: 'master'
EXPERIMENTAL
branch - The branch to build. This parameter is required.this@Stability(value=Experimental) public BitBucketSourceAction.Builder codeBuildCloneOutput(Boolean codeBuildCloneOutput)
Note: if this option is true, then only CodeBuild actions can use the resulting {@link output}.
Default: false
EXPERIMENTAL
codeBuildCloneOutput - Whether the output should be the contents of the repository (which is the default), or a link that allows CodeBuild to clone the repository before building. This parameter is required.thishttps://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodestarConnectionSource.html#action-reference-CodestarConnectionSource-config@Stability(value=Experimental) public BitBucketSourceAction build()
build in interface software.amazon.jsii.Builder<BitBucketSourceAction>Copyright © 2020. All rights reserved.