Method: Aws::CodeCommit::Types::RepositoryTrigger#branches

Defined in:
lib/aws-sdk-codecommit/types.rb

#branchesArray<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>

Returns:

  • (Array<String>)


6390
6391
6392
6393
6394
6395
6396
6397
6398
# File 'lib/aws-sdk-codecommit/types.rb', line 6390

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