View a markdown version of this page

GitHubIntegrationInput - AWS Security Agent

GitHubIntegrationInput

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

Contents

code

The OAuth authorization code received from GitHub.

Type: String

Required: Yes

state

The CSRF state token for validating the OAuth flow.

Type: String

Required: Yes

installationId

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

Type: String

Required: No

organizationName

The name of the GitHub organization to integrate with.

Type: String

Required: No

targetUrl

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

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: