@Stability(value=Stable) @Internal public static final class GitHubSourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitHubSourceOptions
GitHubSourceOptionssoftware.amazon.jsii.JsiiObject.InitializationModeGitHubSourceOptions.Builder, GitHubSourceOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(GitHubSourceOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
GitHubSourceOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
SecretValue |
getAuthentication()
A GitHub OAuth token to use for authentication.
|
GitHubTrigger |
getTrigger()
How AWS CodePipeline should be triggered.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(GitHubSourceOptions.Builder builder)
GitHubSourceOptions.Builder.public final SecretValue getAuthentication()
GitHubSourceOptions
It is recommended to use a Secrets Manager Secret to obtain the token:
SecretValue oauth = SecretValue.secretsManager("my-github-token");
The GitHub Personal Access Token should have these scopes:
Default: - SecretValue.secretsManager('github-token')
getAuthentication in interface GitHubSourceOptionspublic final GitHubTrigger getTrigger()
GitHubSourceOptionsWith the default value "WEBHOOK", a webhook is created in GitHub that triggers the action. With "POLL", CodePipeline periodically checks the source for changes. With "None", the action is not triggered through changes in the source.
To use WEBHOOK, your GitHub Personal Access Token should have
admin:repo_hook scope (in addition to the regular repo scope).
Default: GitHubTrigger.WEBHOOK
getTrigger in interface GitHubSourceOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.