Interface CfnPipeline.GitConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipeline.GitConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPipeline
@Stability(Stable)
public static interface CfnPipeline.GitConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
A type of trigger configuration for Git-based source actions.
You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the
CodeStarSourceConnectionaction type.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
GitConfigurationProperty gitConfigurationProperty = GitConfigurationProperty.builder()
.sourceActionName("sourceActionName")
// the properties below are optional
.pullRequest(List.of(GitPullRequestFilterProperty.builder()
.branches(GitBranchFilterCriteriaProperty.builder()
.excludes(List.of("excludes"))
.includes(List.of("includes"))
.build())
.events(List.of("events"))
.filePaths(GitFilePathFilterCriteriaProperty.builder()
.excludes(List.of("excludes"))
.includes(List.of("includes"))
.build())
.build()))
.push(List.of(GitPushFilterProperty.builder()
.branches(GitBranchFilterCriteriaProperty.builder()
.excludes(List.of("excludes"))
.includes(List.of("includes"))
.build())
.filePaths(GitFilePathFilterCriteriaProperty.builder()
.excludes(List.of("excludes"))
.includes(List.of("includes"))
.build())
.tags(GitTagFilterCriteriaProperty.builder()
.excludes(List.of("excludes"))
.includes(List.of("includes"))
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipeline.GitConfigurationPropertystatic final classAn implementation forCfnPipeline.GitConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe field where the repository event that will start the pipeline is specified as pull requests.default ObjectgetPush()The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceActionName
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
- See Also:
-
getPullRequest
The field where the repository event that will start the pipeline is specified as pull requests.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipeline.GitPullRequestFilterProperty>- See Also:
-
getPush
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipeline.GitPushFilterProperty>- See Also:
-
builder
-