GitPushFilter

class aws_cdk.aws_codepipeline.GitPushFilter(*, tags_excludes=None, tags_includes=None)

Bases: object

Git push filter for trigger.

Parameters:
  • tags_excludes (Optional[Sequence[str]]) – 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. Default: - no tags.

  • tags_includes (Optional[Sequence[str]]) – 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. Default: - no tags.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline as codepipeline

git_push_filter = codepipeline.GitPushFilter(
    tags_excludes=["tagsExcludes"],
    tags_includes=["tagsIncludes"]
)

Attributes

tags_excludes

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.

Default:
  • no tags.

tags_includes

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.

Default:
  • no tags.