GitHubAppVerificationDetailsProperty Struct
The token verifies an existing DevOps Agent GitHub App installation on github.com and is then discarded. Not supported for GitHub Enterprise Server.
| 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 gitHubAppVerificationDetailsProperty: devopsagent.CfnService.GitHubAppVerificationDetailsProperty = {
appVariant: 'appVariant',
tokenValue: 'tokenValue',
// the properties below are optional
organizationName: 'organizationName',
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
git_hub_app_verification_details_property = devopsagent.CfnService.GitHubAppVerificationDetailsProperty(
app_variant="appVariant",
token_value="tokenValue",
# the properties below are optional
organization_name="organizationName",
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.*;
GitHubAppVerificationDetailsProperty gitHubAppVerificationDetailsProperty = GitHubAppVerificationDetailsProperty.builder()
.appVariant("appVariant")
.tokenValue("tokenValue")
// the properties below are optional
.organizationName("organizationName")
.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 gitHubAppVerificationDetailsProperty = new GitHubAppVerificationDetailsProperty {
AppVariant = "appVariant",
TokenValue = "tokenValue",
// the properties below are optional
OrganizationName = "organizationName",
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"
gitHubAppVerificationDetailsProperty := &GitHubAppVerificationDetailsProperty{
AppVariant: jsii.String("appVariant"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
OrganizationName: jsii.String("organizationName"),
TargetUrl: jsii.String("targetUrl"),
}
Properties
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)
GitHub personal access token (PAT) value.
Accepts classic PATs (ghp_...), fine-grained PATs (github_pat_...), and GitHub Enterprise Server token formats