interface GitPushFilter
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.GitPushFilter |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#GitPushFilter |
Java | software.amazon.awscdk.services.codepipeline.GitPushFilter |
Python | aws_cdk.aws_codepipeline.GitPushFilter |
TypeScript (source) | aws-cdk-lib » aws_codepipeline » GitPushFilter |
Git push filter for trigger.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const gitPushFilter: codepipeline.GitPushFilter = {
tagsExcludes: ['tagsExcludes'],
tagsIncludes: ['tagsIncludes'],
};
Properties
Name | Type | Description |
---|---|---|
tags | string[] | The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline. |
tags | string[] | The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline. |
tagsExcludes?
Type:
string[]
(optional, default: no tags.)
The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline.
You can filter with glob patterns. The tagsExcludes
takes priority
over the tagsIncludes
.
Maximum length of this array is 8.
tagsIncludes?
Type:
string[]
(optional, default: no tags.)
The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline.
You can filter with glob patterns. The tagsExcludes
takes priority
over the tagsIncludes
.
Maximum length of this array is 8.