Class: Aws::CodePipeline::Types::GitConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codepipeline/types.rb

Overview

A type of trigger configuration for Git-based source actions.

<note markdown=“1”> You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the ‘CodeStarSourceConnection` action type.

</note>

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#pull_requestArray<Types::GitPullRequestFilter>

The field where the repository event that will start the pipeline is specified as pull requests.

Returns:



2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-codepipeline/types.rb', line 2228

class GitConfiguration < Struct.new(
  :source_action_name,
  :push,
  :pull_request)
  SENSITIVE = []
  include Aws::Structure
end

#pushArray<Types::GitPushFilter>

The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

Returns:



2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-codepipeline/types.rb', line 2228

class GitConfiguration < Struct.new(
  :source_action_name,
  :push,
  :pull_request)
  SENSITIVE = []
  include Aws::Structure
end

#source_action_nameString

The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.

<note markdown=“1”> You can only specify one trigger configuration per source action.

</note>

Returns:

  • (String)


2228
2229
2230
2231
2232
2233
2234
# File 'lib/aws-sdk-codepipeline/types.rb', line 2228

class GitConfiguration < Struct.new(
  :source_action_name,
  :push,
  :pull_request)
  SENSITIVE = []
  include Aws::Structure
end