class Aws::CodeCommit::Types::RepositoryTrigger
Information about a trigger for a repository.
@note When making an API call, you may pass RepositoryTrigger
data as a hash: { name: "RepositoryTriggerName", # required destination_arn: "Arn", # required custom_data: "RepositoryTriggerCustomData", branches: ["BranchName"], events: ["all"], # required, accepts all, updateReference, createReference, deleteReference }
@!attribute [rw] name
The name of the trigger. @return [String]
@!attribute [rw] destination_arn
The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS). @return [String]
@!attribute [rw] custom_data
Any custom data associated with the trigger to be included in the information sent to the target of the trigger. @return [String]
@!attribute [rw] branches
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches. <note markdown="1"> Although no content is required in the array, you must include the array itself. </note> @return [Array<String>]
@!attribute [rw] events
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. <note markdown="1"> The valid value "all" cannot be used with any other values. </note> @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTrigger AWS API Documentation
Constants
- SENSITIVE