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
show all
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 ofa put repository triggers operation.

Instance Attribute Summary collapse

Instance Attribute Details

#repository_nameString

The name of the repository where you want to create or update the trigger.

Returns:

  • (String)

    The name of the repository where you want to create or update the trigger.

#triggersArray<Types::RepositoryTrigger>

The JSON block of configuration information for each trigger.

Returns: