@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:45.013Z") 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 . |
IResource.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
GitHubSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitHubSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef) |
|
GitHubSourceCredentials(software.constructs.Construct scope,
java.lang.String id,
GitHubSourceCredentialsProps 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 GitHubSourceCredentials(software.amazon.jsii.JsiiObjectRef objRef)
protected GitHubSourceCredentials(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public GitHubSourceCredentials(software.constructs.Construct scope, java.lang.String id, GitHubSourceCredentialsProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.