# RegisteredGitHubServiceDetailsProperty

GitHub service details returned after registration.

- 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 registeredGitHubServiceDetailsProperty: devopsagent.CfnService.RegisteredGitHubServiceDetailsProperty = {
  owner: 'owner',
  ownerType: 'ownerType',

  // the properties below are optional
  appVariant: 'appVariant',
  authMode: 'authMode',
  hostingType: 'hostingType',
  targetUrl: 'targetUrl',
};
```

## Properties

- `appVariant`: string — The GitHub App variant the service was registered with.

- `authMode`: string — How the service authenticates against the GitHub API: app after AppVerification, pat after DirectAccess.

- `hostingType`: string — The GitHub hosting type the service was registered with.

- `owner`: string (required) — The GitHub repository owner name derived from the token.

- `ownerType`: string (required) — Type of repository owner.

- `targetUrl`: string — GitHub instance URL (absent for github.com).
