You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeCommit::Types::PutRepositoryTriggersInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::PutRepositoryTriggersInput
- Defined in:
- (unknown)
Overview
Note:
When passing PutRepositoryTriggersInput as input to an Aws::Client method, you can use a vanilla Hash:
{
repository_name: "RepositoryName", # required
triggers: [ # required
{
name: "RepositoryTriggerName", # required
destination_arn: "Arn", # required
custom_data: "RepositoryTriggerCustomData",
branches: ["BranchName"],
events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
},
],
}
Represents the input of a put repository triggers operation.
Instance Attribute Summary collapse
-
#repository_name ⇒ String
The name of the repository where you want to create or update the trigger.
-
#triggers ⇒ Array<Types::RepositoryTrigger>
The JSON block of configuration information for each trigger.
Instance Attribute Details
#repository_name ⇒ String
The name of the repository where you want to create or update the trigger.
#triggers ⇒ Array<Types::RepositoryTrigger>
The JSON block of configuration information for each trigger.