You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeCommit::Types::RepositoryTrigger
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::RepositoryTrigger
- Defined in:
- (unknown)
Overview
When passing RepositoryTrigger as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "RepositoryTriggerName", # required
destination_arn: "Arn", # required
custom_data: "RepositoryTriggerCustomData",
branches: ["BranchName"],
events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
}
Information about a trigger for a repository.
Instance Attribute Summary collapse
-
#branches ⇒ Array<String>
The branches to be included in the trigger configuration.
-
#custom_data ⇒ String
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
-
#destination_arn ⇒ String
The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
-
#events ⇒ Array<String>
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
-
#name ⇒ String
The name of the trigger.
Instance Attribute Details
#branches ⇒ Array<String>
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
#custom_data ⇒ String
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
#destination_arn ⇒ String
The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
#events ⇒ Array<String>
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
#name ⇒ String
The name of the trigger.