Class: Aws::CodeCommit::Types::RepositoryTrigger
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::RepositoryTrigger
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codecommit/types.rb
Overview
Information about a trigger for a repository.
<note markdown=“1”> If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see [Configuring notifications for repository events].
</note>
[1]: docs.aws.amazon.com/codecommit/latest/userguide/how-to-repository-email.html
Constant Summary collapse
- SENSITIVE =
[]
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.
<note markdown=“1”> Although no content is required in the array, you must include the array itself.
</note>
6392 6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'lib/aws-sdk-codecommit/types.rb', line 6392 class RepositoryTrigger < Struct.new( :name, :destination_arn, :custom_data, :branches, :events) SENSITIVE = [] include Aws::Structure end |
#custom_data ⇒ String
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
6392 6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'lib/aws-sdk-codecommit/types.rb', line 6392 class RepositoryTrigger < Struct.new( :name, :destination_arn, :custom_data, :branches, :events) SENSITIVE = [] include Aws::Structure end |
#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).
6392 6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'lib/aws-sdk-codecommit/types.rb', line 6392 class RepositoryTrigger < Struct.new( :name, :destination_arn, :custom_data, :branches, :events) SENSITIVE = [] include Aws::Structure end |
#events ⇒ Array<String>
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>
6392 6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'lib/aws-sdk-codecommit/types.rb', line 6392 class RepositoryTrigger < Struct.new( :name, :destination_arn, :custom_data, :branches, :events) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the trigger.
6392 6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'lib/aws-sdk-codecommit/types.rb', line 6392 class RepositoryTrigger < Struct.new( :name, :destination_arn, :custom_data, :branches, :events) SENSITIVE = [] include Aws::Structure end |