Skip to content
v2.275.0

GitHubDetailsProperty Struct ​

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 gitHubDetailsProperty: devopsagent.CfnService.GitHubDetailsProperty = {
  appVerification: {
    appVariant: 'appVariant',
    tokenValue: 'tokenValue',

    // the properties below are optional
    organizationName: 'organizationName',
    targetUrl: 'targetUrl',
  },
  directAccess: {
    tokenValue: 'tokenValue',

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

Properties ​

appVerificationoptionalIResolvable | CfnService.GitHubAppVerificationDetailsPropertyapp_verificationoptionaltyping.Union[IResolvable, GitHubAppVerificationDetailsProperty]appVerificationoptionalIResolvableAppVerificationoptionalIResolvableAppVerificationoptionalinterface{}#
The token verifies an existing DevOps Agent GitHub App installation on github.com and is then discarded. Not supported for GitHub Enterprise Server.
directAccessoptionalIResolvable | CfnService.GitHubPatDetailsPropertydirect_accessoptionaltyping.Union[IResolvable, GitHubPatDetailsProperty]directAccessoptionalIResolvableDirectAccessoptionalIResolvableDirectAccessoptionalinterface{}#
The token is stored and used as the long-lived credential for GitHub API access.