Interface CfnPipelinePropsMixin.PipelineTriggerDeclarationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipelinePropsMixin.PipelineTriggerDeclarationProperty.Jsii$Proxy
- Enclosing class:
CfnPipelinePropsMixin
@Stability(Stable)
public static interface CfnPipelinePropsMixin.PipelineTriggerDeclarationProperty
extends software.amazon.jsii.JsiiSerializable
Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.
This is only supported for the
CodeStarSourceConnectionaction type. > When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.codepipeline.*;
PipelineTriggerDeclarationProperty pipelineTriggerDeclarationProperty = PipelineTriggerDeclarationProperty.builder()
.gitConfiguration(GitConfigurationProperty.builder()
.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()))
.sourceActionName("sourceActionName")
.build())
.providerType("providerType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipelinePropsMixin.PipelineTriggerDeclarationPropertystatic final classAn implementation forCfnPipelinePropsMixin.PipelineTriggerDeclarationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectProvides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.default StringThe source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGitConfiguration
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.Returns union: either
IResolvableorCfnPipelinePropsMixin.GitConfigurationProperty- See Also:
-
getProviderType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.- See Also:
-
builder
@Stability(Stable) static CfnPipelinePropsMixin.PipelineTriggerDeclarationProperty.Builder builder()
-