Class: Aws::CodeCommit::Types::RepositoryTrigger

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Information about a trigger for a repository.

If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see Configuring notifications for repository events.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#branchesArray<String>

The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.

Although no content is required in the array, you must include the array itself.

Returns:

  • (Array<String>)


6386
6387
6388
6389
6390
6391
6392
6393
6394
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6386

class RepositoryTrigger < Struct.new(
  :name,
  :destination_arn,
  :custom_data,
  :branches,
  :events)
  SENSITIVE = []
  include Aws::Structure
end

#custom_dataString

Any custom data associated with the trigger to be included in the information sent to the target of the trigger.

Returns:

  • (String)


6386
6387
6388
6389
6390
6391
6392
6393
6394
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6386

class RepositoryTrigger < Struct.new(
  :name,
  :destination_arn,
  :custom_data,
  :branches,
  :events)
  SENSITIVE = []
  include Aws::Structure
end

#destination_arnString

The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

Returns:

  • (String)


6386
6387
6388
6389
6390
6391
6392
6393
6394
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6386

class RepositoryTrigger < Struct.new(
  :name,
  :destination_arn,
  :custom_data,
  :branches,
  :events)
  SENSITIVE = []
  include Aws::Structure
end

#eventsArray<String>

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.

The valid value "all" cannot be used with any other values.

Returns:

  • (Array<String>)


6386
6387
6388
6389
6390
6391
6392
6393
6394
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6386

class RepositoryTrigger < Struct.new(
  :name,
  :destination_arn,
  :custom_data,
  :branches,
  :events)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the trigger.

Returns:

  • (String)


6386
6387
6388
6389
6390
6391
6392
6393
6394
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6386

class RepositoryTrigger < Struct.new(
  :name,
  :destination_arn,
  :custom_data,
  :branches,
  :events)
  SENSITIVE = []
  include Aws::Structure
end