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
.push(List.of(GitPushFilterProperty.builder()
.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
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:
-
getPush
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.Git tags is the only supported event type.
- See Also:
-
builder
-