@Stability(value=Experimental) public static final class CodeStarConnectionsSourceActionProps.Builder extends Object implements software.amazon.jsii.Builder<CodeStarConnectionsSourceActionProps>
CodeStarConnectionsSourceActionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder connectionArn(String connectionArn)
CodeStarConnectionsSourceActionProps.getConnectionArn()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.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder output(Artifact output)
CodeStarConnectionsSourceActionProps.getOutput()output - The output artifact that this action produces. This parameter is required.
Can be used as input for further pipeline actions.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder owner(String owner)
CodeStarConnectionsSourceActionProps.getOwner()owner - The owning user or organization of the repository. This parameter is required.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder repo(String repo)
CodeStarConnectionsSourceActionProps.getRepo()repo - The name of the repository. This parameter is required.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder branch(String branch)
CodeStarConnectionsSourceActionProps.getBranch()branch - The branch to build.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder codeBuildCloneOutput(Boolean codeBuildCloneOutput)
CodeStarConnectionsSourceActionProps.getCodeBuildCloneOutput()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.
Note: if this option is true,
then only CodeBuild actions can use the resulting {@link output}.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder triggerOnPush(Boolean triggerOnPush)
CodeStarConnectionsSourceActionProps.getTriggerOnPush()triggerOnPush - Controls automatically starting your pipeline when a new commit is made on the configured repository and branch.
If unspecified,
the default value is true, and the field does not display by default.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder role(IRole role)
CommonAwsActionProps.getRole()role - The Role in which context's this Action will be executing in.
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.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder actionName(String actionName)
CommonActionProps.getActionName()actionName - The physical, human-readable name of the Action. This parameter is required.
Note that Action names must be unique within a single Stage.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder runOrder(Number runOrder)
CommonActionProps.getRunOrder()runOrder - The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps.Builder variablesNamespace(String variablesNamespace)
CommonActionProps.getVariablesNamespace()variablesNamespace - The name of the namespace to use for variables emitted by this action.this@Stability(value=Experimental) public CodeStarConnectionsSourceActionProps build()
build in interface software.amazon.jsii.Builder<CodeStarConnectionsSourceActionProps>CodeStarConnectionsSourceActionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.