Skip to content
v2.275.0

RegisteredGitHubServiceDetailsProperty Struct ​

GitHub service details returned after registration.

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 ​

appVariantoptionalstringapp_variantoptionalstrappVariantoptionalStringAppVariantoptionalstringAppVariantoptional*string#
The GitHub App variant the service was registered with.
authModeoptionalstringauth_modeoptionalstrauthModeoptionalStringAuthModeoptionalstringAuthModeoptional*string#
How the service authenticates against the GitHub API: app after AppVerification, pat after DirectAccess.
hostingTypeoptionalstringhosting_typeoptionalstrhostingTypeoptionalStringHostingTypeoptionalstringHostingTypeoptional*string#
The GitHub hosting type the service was registered with.
ownerstringownerstrownerStringOwnerstringOwner*stringrequired#
The GitHub repository owner name derived from the token.
ownerTypestringowner_typestrownerTypeStringOwnerTypestringOwnerType*stringrequired#
Type of repository owner.
targetUrloptionalstringtarget_urloptionalstrtargetUrloptionalStringTargetUrloptionalstringTargetUrloptional*string#
GitHub instance URL (absent for github.com).