Class: Aws::SecurityAgent::Types::GitHubIntegrationInput

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

Overview

The input required to create a GitHub integration, including the OAuth authorization code and CSRF state.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The OAuth authorization code received from GitHub.

Returns:

  • (String)


4138
4139
4140
4141
4142
4143
4144
4145
4146
# File 'lib/aws-sdk-securityagent/types.rb', line 4138

class GitHubIntegrationInput < Struct.new(
  :code,
  :state,
  :organization_name,
  :target_url,
  :installation_id)
  SENSITIVE = []
  include Aws::Structure
end

#installation_idString

The installation identifier provided by GitHub Enterprise Server on the install callback. Required for GitHub Enterprise Server integrations and ignored for GitHub.com.

Returns:

  • (String)


4138
4139
4140
4141
4142
4143
4144
4145
4146
# File 'lib/aws-sdk-securityagent/types.rb', line 4138

class GitHubIntegrationInput < Struct.new(
  :code,
  :state,
  :organization_name,
  :target_url,
  :installation_id)
  SENSITIVE = []
  include Aws::Structure
end

#organization_nameString

The name of the GitHub organization to integrate with.

Returns:

  • (String)


4138
4139
4140
4141
4142
4143
4144
4145
4146
# File 'lib/aws-sdk-securityagent/types.rb', line 4138

class GitHubIntegrationInput < Struct.new(
  :code,
  :state,
  :organization_name,
  :target_url,
  :installation_id)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The CSRF state token for validating the OAuth flow.

Returns:

  • (String)


4138
4139
4140
4141
4142
4143
4144
4145
4146
# File 'lib/aws-sdk-securityagent/types.rb', line 4138

class GitHubIntegrationInput < Struct.new(
  :code,
  :state,
  :organization_name,
  :target_url,
  :installation_id)
  SENSITIVE = []
  include Aws::Structure
end

#target_urlString

The HTTPS URL of a self-hosted GitHub Enterprise Server instance. Omit this value for GitHub.com.

Returns:

  • (String)


4138
4139
4140
4141
4142
4143
4144
4145
4146
# File 'lib/aws-sdk-securityagent/types.rb', line 4138

class GitHubIntegrationInput < Struct.new(
  :code,
  :state,
  :organization_name,
  :target_url,
  :installation_id)
  SENSITIVE = []
  include Aws::Structure
end