@Stability(value=Experimental) public static final class CodeCommitSourceAction.Builder extends Object implements software.amazon.jsii.Builder<CodeCommitSourceAction>
CodeCommitSourceAction.| Modifier and Type | Method and Description |
|---|---|
CodeCommitSourceAction.Builder |
actionName(String actionName)
(experimental) The physical, human-readable name of the Action.
|
CodeCommitSourceAction.Builder |
branch(String branch)
Default: 'master'
|
CodeCommitSourceAction |
build() |
CodeCommitSourceAction.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.
|
static CodeCommitSourceAction.Builder |
create() |
CodeCommitSourceAction.Builder |
eventRole(IRole eventRole)
(experimental) Role to be used by on commit event rule.
|
CodeCommitSourceAction.Builder |
output(Artifact output) |
CodeCommitSourceAction.Builder |
repository(IRepository repository)
(experimental) The CodeCommit repository.
|
CodeCommitSourceAction.Builder |
role(IRole role)
(experimental) The Role in which context's this Action will be executing in.
|
CodeCommitSourceAction.Builder |
runOrder(Number runOrder)
(experimental) The runOrder property for this Action.
|
CodeCommitSourceAction.Builder |
trigger(CodeCommitTrigger trigger)
(experimental) How should CodePipeline detect source changes for this Action.
|
CodeCommitSourceAction.Builder |
variablesNamespace(String variablesNamespace)
(experimental) The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Experimental) public static CodeCommitSourceAction.Builder create()
CodeCommitSourceAction.Builder.@Stability(value=Experimental) public CodeCommitSourceAction.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 CodeCommitSourceAction.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 CodeCommitSourceAction.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 CodeCommitSourceAction.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 CodeCommitSourceAction.Builder output(Artifact output)
output - This parameter is required.this@Stability(value=Experimental) public CodeCommitSourceAction.Builder repository(IRepository repository)
repository - The CodeCommit repository. This parameter is required.this@Stability(value=Experimental) public CodeCommitSourceAction.Builder branch(String branch)
branch - This parameter is required.this@Stability(value=Experimental) public CodeCommitSourceAction.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-CodeCommit.html@Stability(value=Experimental) public CodeCommitSourceAction.Builder eventRole(IRole eventRole)
Used only when trigger value is CodeCommitTrigger.EVENTS.
Default: a new role will be created.
eventRole - Role to be used by on commit event rule. This parameter is required.this@Stability(value=Experimental) public CodeCommitSourceAction.Builder trigger(CodeCommitTrigger trigger)
Default: CodeCommitTrigger.EVENTS
trigger - How should CodePipeline detect source changes for this Action. This parameter is required.this@Stability(value=Experimental) public CodeCommitSourceAction build()
build in interface software.amazon.jsii.Builder<CodeCommitSourceAction>Copyright © 2021. All rights reserved.