# GitHubAppVerificationDetailsProperty

The token verifies an existing DevOps Agent GitHub App installation on github.com and is then discarded. Not supported for GitHub Enterprise Server.

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const gitHubAppVerificationDetailsProperty: devopsagent.CfnService.GitHubAppVerificationDetailsProperty = {
  appVariant: 'appVariant',
  tokenValue: 'tokenValue',

  // the properties below are optional
  organizationName: 'organizationName',
  targetUrl: 'targetUrl',
};
```

## Properties

- `appVariant`: string (required) — Permission variant of the DevOps Agent GitHub App that must already be installed on the organization or account.

- `organizationName`: string — GitHub organization to scope the service to.

  The token must be an active member of the organization and only that organization's repositories are accessible. Omit to register the token's own user account

- `targetUrl`: string — GitHub instance URL.

  Omit for github.com. Provide the instance host for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency (e.g. https://github.example.com)

- `tokenValue`: string (required) — GitHub personal access token (PAT) value.

  Accepts classic PATs (ghp_...), fine-grained PATs (github_pat_...), and GitHub Enterprise Server token formats
