Class CodeStarConnectionsSourceAction.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CodeStarConnectionsSourceAction>
- Enclosing class:
- CodeStarConnectionsSourceAction
CodeStarConnectionsSourceAction.- 
Method SummaryModifier and TypeMethodDescriptionactionName(String actionName) The physical, human-readable name of the Action.The branch to build.build()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.connectionArn(String connectionArn) The ARN of the CodeStar Connection created in the AWS console that has permissions to access this GitHub or BitBucket repository.create()The output artifact that this action produces.The owning user or organization of the repository.The name of the repository.The Role in which context's this Action will be executing in.The runOrder property for this Action.triggerOnPush(Boolean triggerOnPush) Controls automatically starting your pipeline when a new commit is made on the configured repository and branch.variablesNamespace(String variablesNamespace) The name of the namespace to use for variables emitted by this action.
- 
Method Details- 
create- Returns:
- a new instance of CodeStarConnectionsSourceAction.Builder.
 
- 
actionNameThe physical, human-readable name of the Action.Note that Action names must be unique within a single Stage. - Parameters:
- actionName- The physical, human-readable name of the Action. This parameter is required.
- Returns:
- this
 
- 
runOrderThe runOrder property for this Action.RunOrder determines the relative order in which multiple Actions in the same Stage execute. Default: 1 - Parameters:
- runOrder- The runOrder property for this Action. This parameter is required.
- Returns:
- this
- See Also:
 
- 
variablesNamespace@Stability(Stable) public CodeStarConnectionsSourceAction.Builder variablesNamespace(String variablesNamespace) The name of the namespace to use for variables emitted by this action.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 - Parameters:
- variablesNamespace- The name of the namespace to use for variables emitted by this action. This parameter is required.
- Returns:
- this
 
- 
roleThe 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 IAction.bindmethod in theActionBindOptions.roleproperty.Default: a new Role will be generated - Parameters:
- role- The Role in which context's this Action will be executing in. This parameter is required.
- Returns:
- this
 
- 
connectionArn@Stability(Stable) public CodeStarConnectionsSourceAction.Builder connectionArn(String connectionArn) The ARN of the CodeStar Connection created in the AWS console that has permissions to access this GitHub or BitBucket repository.Example: "arn:aws:codestar-connections:us-east-1:123456789012:connection/12345678-abcd-12ab-34cdef5678gh"; - Parameters:
- 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.
- Returns:
- this
- See Also:
 
- 
outputThe output artifact that this action produces.Can be used as input for further pipeline actions. - Parameters:
- output- The output artifact that this action produces. This parameter is required.
- Returns:
- this
 
- 
ownerThe owning user or organization of the repository.Example: "aws"; - Parameters:
- owner- The owning user or organization of the repository. This parameter is required.
- Returns:
- this
 
- 
repoThe name of the repository.Example: "aws-cdk"; - Parameters:
- repo- The name of the repository. This parameter is required.
- Returns:
- this
 
- 
branchThe branch to build.Default: 'master' - Parameters:
- branch- The branch to build. This parameter is required.
- Returns:
- this
 
- 
codeBuildCloneOutput@Stability(Stable) public CodeStarConnectionsSourceAction.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.**Note**: if this option is true, then only CodeBuild actions can use the resulting output(software.amazon.awscdk.services.codepipeline.Artifact).Default: false - Parameters:
- 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.
- Returns:
- this
- See Also:
 
- 
triggerOnPush@Stability(Stable) public CodeStarConnectionsSourceAction.Builder triggerOnPush(Boolean 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. Default: true - Parameters:
- triggerOnPush- Controls automatically starting your pipeline when a new commit is made on the configured repository and branch. This parameter is required.
- Returns:
- this
- See Also:
 
- 
build- Specified by:
- buildin interface- software.amazon.jsii.Builder<CodeStarConnectionsSourceAction>
- Returns:
- a newly built instance of CodeStarConnectionsSourceAction.
 
 
-