@Stability(value=Experimental) public static final class CodeStarConnectionsSourceAction.Builder extends Object implements software.amazon.jsii.Builder<CodeStarConnectionsSourceAction>
CodeStarConnectionsSourceAction.| Modifier and Type | Method and Description |
|---|---|
CodeStarConnectionsSourceAction.Builder |
actionName(String actionName)
(experimental) The physical, human-readable name of the Action.
|
CodeStarConnectionsSourceAction.Builder |
branch(String branch)
(experimental) The branch to build.
|
CodeStarConnectionsSourceAction |
build() |
CodeStarConnectionsSourceAction.Builder |
codeBuildCloneOutput(Boolean codeBuildCloneOutput)
(experimental) 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.
|
CodeStarConnectionsSourceAction.Builder |
connectionArn(String connectionArn)
(experimental) The ARN of the CodeStar Connection created in the AWS console that has permissions to access this GitHub or BitBucket repository.
|
static CodeStarConnectionsSourceAction.Builder |
create() |
CodeStarConnectionsSourceAction.Builder |
output(Artifact output)
(experimental) The output artifact that this action produces.
|
CodeStarConnectionsSourceAction.Builder |
owner(String owner)
(experimental) The owning user or organization of the repository.
|
CodeStarConnectionsSourceAction.Builder |
repo(String repo)
(experimental) The name of the repository.
|
CodeStarConnectionsSourceAction.Builder |
role(IRole role)
(experimental) The Role in which context's this Action will be executing in.
|
CodeStarConnectionsSourceAction.Builder |
runOrder(Number runOrder)
(experimental) The runOrder property for this Action.
|
CodeStarConnectionsSourceAction.Builder |
triggerOnPush(Boolean triggerOnPush)
(experimental) Controls automatically starting your pipeline when a new commit is made on the configured repository and branch.
|
CodeStarConnectionsSourceAction.Builder |
variablesNamespace(String variablesNamespace)
(experimental) The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Experimental) public static CodeStarConnectionsSourceAction.Builder create()
CodeStarConnectionsSourceAction.Builder.@Stability(value=Experimental) public CodeStarConnectionsSourceAction.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=Experimental) public CodeStarConnectionsSourceAction.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=Experimental) public CodeStarConnectionsSourceAction.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=Experimental) public CodeStarConnectionsSourceAction.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 CodeStarConnectionsSourceAction.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";
connectionArn - The ARN of the CodeStar Connection created in the AWS console that has permissions to access this GitHub or BitBucket repository. This parameter is required.thishttps://docs.aws.amazon.com/codepipeline/latest/userguide/connections-create.html@Stability(value=Experimental) public CodeStarConnectionsSourceAction.Builder output(Artifact output)
Can be used as input for further pipeline actions.
output - The output artifact that this action produces. This parameter is required.this@Stability(value=Experimental) public CodeStarConnectionsSourceAction.Builder owner(String owner)
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "aws";
owner - The owning user or organization of the repository. This parameter is required.this@Stability(value=Experimental) public CodeStarConnectionsSourceAction.Builder repo(String repo)
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "aws-cdk";
repo - The name of the repository. This parameter is required.this@Stability(value=Experimental) public CodeStarConnectionsSourceAction.Builder branch(String branch)
Default: 'master'
branch - The branch to build. This parameter is required.this@Stability(value=Experimental) public CodeStarConnectionsSourceAction.Builder codeBuildCloneOutput(Boolean codeBuildCloneOutput)
Note: if this option is true, then only CodeBuild actions can use the resulting {@link output}.
Default: false
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 CodeStarConnectionsSourceAction.Builder triggerOnPush(Boolean triggerOnPush)
If unspecified, the default value is true, and the field does not display by default.
Default: true
triggerOnPush - Controls automatically starting your pipeline when a new commit is made on the configured repository and branch. This parameter is required.thishttps://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodestarConnectionSource.html@Stability(value=Experimental) public CodeStarConnectionsSourceAction build()
build in interface software.amazon.jsii.Builder<CodeStarConnectionsSourceAction>Copyright © 2021. All rights reserved.