@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.335Z") @Stability(value=Stable) public class GitHubSourceCredentials extends Resource
Note: CodeBuild only allows a single credential for GitHub 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:
GitHubSourceCredentials.Builder.create(this, "CodeBuildGitHubCreds")
.accessToken(SecretValue.secretsManager("my-token"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
GitHubSourceCredentials.Builder
A fluent builder for
GitHubSourceCredentials. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
GitHubSourceCredentials(software.constructs.Construct scope,
String id,
GitHubSourceCredentialsProps props) |
protected |
GitHubSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitHubSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GitHubSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef)
protected GitHubSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public GitHubSourceCredentials(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
GitHubSourceCredentialsProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.