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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityagent/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

#code ⇒ String

The OAuth authorization code received from GitHub.

Returns:

  • (String)


4336
4337
4338
4339
4340
4341
4342
4343
4344
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 4336

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

#installation_id ⇒ String

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)


4336
4337
4338
4339
4340
4341
4342
4343
4344
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 4336

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

#organization_name ⇒ String

The name of the GitHub organization to integrate with.

Returns:

  • (String)


4336
4337
4338
4339
4340
4341
4342
4343
4344
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 4336

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

#state ⇒ String

The CSRF state token for validating the OAuth flow.

Returns:

  • (String)


4336
4337
4338
4339
4340
4341
4342
4343
4344
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 4336

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

#target_url ⇒ String

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

Returns:

  • (String)


4336
4337
4338
4339
4340
4341
4342
4343
4344
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 4336

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