interface TriggerProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodePipeline.TriggerProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#TriggerProps |
![]() | software.amazon.awscdk.services.codepipeline.TriggerProps |
![]() | aws_cdk.aws_codepipeline.TriggerProps |
![]() | aws-cdk-lib » aws_codepipeline » TriggerProps |
Properties of trigger.
Example
declare const pipeline: codepipeline.Pipeline;
declare const sourceAction: codepipeline_actions.CodeStarConnectionsSourceAction;
pipeline.addTrigger({
providerType: codepipeline.ProviderType.CODE_STAR_SOURCE_CONNECTION,
gitConfiguration: {
sourceAction,
pushFilter: [{
tagsExcludes: ['exclude1', 'exclude2'],
tagsIncludes: ['include*'],
}],
},
});
Properties
Name | Type | Description |
---|---|---|
provider | Provider | The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration. |
git | Git | Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags. |
providerType
Type:
Provider
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
gitConfiguration?
Type:
Git
(optional, default: no configuration.)
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.