RegisteredGitHubServiceDetailsProperty Struct
GitHub service details returned after registration.
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent
registered_git_hub_service_details_property = devopsagent.CfnService.RegisteredGitHubServiceDetailsProperty(
owner="owner",
owner_type="ownerType",
# the properties below are optional
app_variant="appVariant",
auth_mode="authMode",
hosting_type="hostingType",
target_url="targetUrl"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;
RegisteredGitHubServiceDetailsProperty registeredGitHubServiceDetailsProperty = RegisteredGitHubServiceDetailsProperty.builder()
.owner("owner")
.ownerType("ownerType")
// the properties below are optional
.appVariant("appVariant")
.authMode("authMode")
.hostingType("hostingType")
.targetUrl("targetUrl")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;
var registeredGitHubServiceDetailsProperty = new RegisteredGitHubServiceDetailsProperty {
Owner = "owner",
OwnerType = "ownerType",
// the properties below are optional
AppVariant = "appVariant",
AuthMode = "authMode",
HostingType = "hostingType",
TargetUrl = "targetUrl"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
registeredGitHubServiceDetailsProperty := &RegisteredGitHubServiceDetailsProperty{
Owner: jsii.String("owner"),
OwnerType: jsii.String("ownerType"),
// the properties below are optional
AppVariant: jsii.String("appVariant"),
AuthMode: jsii.String("authMode"),
HostingType: jsii.String("hostingType"),
TargetUrl: jsii.String("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.
The GitHub repository owner name derived from the token.
Type of repository owner.
targetUrloptionalstringtarget_urloptionalstrtargetUrloptionalStringTargetUrloptionalstringTargetUrloptional*string #GitHub instance URL (absent for github.com).