Skip to content
v2.274.0

GitHubAppVerificationDetailsProperty Struct Added in v2.274.0 ​

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

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 ​

appVariantstringapp_variantstrappVariantStringAppVariantstringAppVariant*stringrequired#
Permission variant of the DevOps Agent GitHub App that must already be installed on the organization or account.
organizationNameoptionalstringorganization_nameoptionalstrorganizationNameoptionalStringOrganizationNameoptionalstringOrganizationNameoptional*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

targetUrloptionalstringtarget_urloptionalstrtargetUrloptionalStringTargetUrloptionalstringTargetUrloptional*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)

tokenValuestringtoken_valuestrtokenValueStringTokenValuestringTokenValue*stringrequired#
GitHub personal access token (PAT) value.

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