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:



2202
2203
2204
2205
2206
2207
2208
# File 'lib/aws-sdk-codepipeline/types.rb', line 2202

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:



2202
2203
2204
2205
2206
2207
2208
# File 'lib/aws-sdk-codepipeline/types.rb', line 2202

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)


2202
2203
2204
2205
2206
2207
2208
# File 'lib/aws-sdk-codepipeline/types.rb', line 2202

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