@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:42.832Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
GitHubEnterpriseSourceCredentials(software.constructs.Construct scope,
String id,
GitHubEnterpriseSourceCredentialsProps props) |
protected |
GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef)
protected GitHubEnterpriseSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public GitHubEnterpriseSourceCredentials(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
GitHubEnterpriseSourceCredentialsProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.