GitPushFilter
- class aws_cdk.aws_codepipeline.GitPushFilter(*, branches_excludes=None, branches_includes=None, file_paths_excludes=None, file_paths_includes=None, tags_excludes=None, tags_includes=None)
Bases:
objectGit push filter for trigger.
- Parameters:
branches_excludes (
Optional[Sequence[str]]) – The list of patterns of Git branches that, when pull request events occurs, are to be excluded from starting the pipeline. You can filter with glob patterns. ThebranchesExcludestakes priority over thebranchesIncludes. Maximum length of this array is 8. Default: - no branches.branches_includes (
Optional[Sequence[str]]) – The list of patterns of Git branches that, when pull request events occurs, are to be included as criteria that starts the pipeline. You can filter with glob patterns. ThebranchesExcludestakes priority over thebranchesIncludes. Maximum length of this array is 8. Default: - no branches.file_paths_excludes (
Optional[Sequence[str]]) – The list of patterns of Git repository file paths that, when pull request events occurs, are to be excluded from starting the pipeline. You can filter with glob patterns. ThefilePathsExcludestakes priority over thefilePathsIncludes. Maximum length of this array is 8. Default: - no filePaths.file_paths_includes (
Optional[Sequence[str]]) – The list of patterns of Git repository file paths that, when pull request events occurs, are to be included as criteria that starts the pipeline. You can filter with glob patterns. ThefilePathsExcludestakes priority over thefilePathsIncludes. Maximum length of this array is 8. Default: - no filePaths.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. ThetagsExcludestakes priority over thetagsIncludes. 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. ThetagsExcludestakes priority over thetagsIncludes. 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( branches_excludes=["branchesExcludes"], branches_includes=["branchesIncludes"], file_paths_excludes=["filePathsExcludes"], file_paths_includes=["filePathsIncludes"], tags_excludes=["tagsExcludes"], tags_includes=["tagsIncludes"] )
Attributes
- branches_excludes
The list of patterns of Git branches that, when pull request events occurs, are to be excluded from starting the pipeline.
You can filter with glob patterns. The
branchesExcludestakes priority over thebranchesIncludes.Maximum length of this array is 8.
- Default:
no branches.
- branches_includes
The list of patterns of Git branches that, when pull request events occurs, are to be included as criteria that starts the pipeline.
You can filter with glob patterns. The
branchesExcludestakes priority over thebranchesIncludes.Maximum length of this array is 8.
- Default:
no branches.
- file_paths_excludes
The list of patterns of Git repository file paths that, when pull request events occurs, are to be excluded from starting the pipeline.
You can filter with glob patterns. The
filePathsExcludestakes priority over thefilePathsIncludes.Maximum length of this array is 8.
- Default:
no filePaths.
- file_paths_includes
The list of patterns of Git repository file paths that, when pull request events occurs, are to be included as criteria that starts the pipeline.
You can filter with glob patterns. The
filePathsExcludestakes priority over thefilePathsIncludes.Maximum length of this array is 8.
- Default:
no filePaths.
- 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
tagsExcludestakes priority over thetagsIncludes.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
tagsExcludestakes priority over thetagsIncludes.Maximum length of this array is 8.
- Default:
no tags.