Trigger
- class aws_cdk.aws_codepipeline.Trigger(*, provider_type, git_configuration=None)
- Bases: - object- Trigger. - 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 # action: codepipeline.Action trigger = codepipeline.Trigger( provider_type=codepipeline.ProviderType.CODE_STAR_SOURCE_CONNECTION, # the properties below are optional git_configuration=codepipeline.GitConfiguration( source_action=action, # the properties below are optional pull_request_filter=[codepipeline.GitPullRequestFilter( branches_excludes=["branchesExcludes"], branches_includes=["branchesIncludes"], events=[codepipeline.GitPullRequestEvent.OPEN], file_paths_excludes=["filePathsExcludes"], file_paths_includes=["filePathsIncludes"] )], push_filter=[codepipeline.GitPushFilter( branches_excludes=["branchesExcludes"], branches_includes=["branchesIncludes"], file_paths_excludes=["filePathsExcludes"], file_paths_includes=["filePathsIncludes"], tags_excludes=["tagsExcludes"], tags_includes=["tagsIncludes"] )] ) ) - Parameters:
- provider_type ( - ProviderType) – The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
- git_configuration ( - Union[- GitConfiguration,- Dict[- str,- Any],- None]) – Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags. Default: - no configuration.
 
 - Attributes - source_action
- The pipeline source action where the trigger configuration.