RepositoryTrigger
¶
Source code in docs_src/capo_codecommit/types/repository_trigger.py
branches
instance-attribute
¶
branches: NotRequired[BranchNameList]
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
Although no content is required in the array, you must include the array itself.
custom_data
instance-attribute
¶
custom_data: NotRequired[RepositoryTriggerCustomData]
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
destination_arn
instance-attribute
¶
destination_arn: Arn
The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
events
instance-attribute
¶
events: RepositoryTriggerEventList
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
The valid value "all" cannot be used with any other values.