@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:45.007Z") public class GitHubEnterpriseSourceCredentials extends Resource
Note: CodeBuild only allows a single credential for GitHub Enterprise to be saved in a given AWS account in a given region - any attempt to add more than one will result in an error.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codebuild.*; import software.amazon.awscdk.core.*; SecretValue secretValue; GitHubEnterpriseSourceCredentials gitHubEnterpriseSourceCredentials = GitHubEnterpriseSourceCredentials.Builder.create(this, "MyGitHubEnterpriseSourceCredentials") .accessToken(secretValue) .build();
Modifier and Type | Class and Description |
---|---|
static class |
GitHubEnterpriseSourceCredentials.Builder
A fluent builder for
GitHubEnterpriseSourceCredentials . |
IResource.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef) |
|
GitHubEnterpriseSourceCredentials(software.constructs.Construct scope,
java.lang.String id,
GitHubEnterpriseSourceCredentialsProps props) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNode
protected GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef)
protected GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public GitHubEnterpriseSourceCredentials(software.constructs.Construct scope, java.lang.String id, GitHubEnterpriseSourceCredentialsProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.