@Stability(value=Stable) public static final class GitHubSourceActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitHubSourceActionProps
GitHubSourceActionPropssoftware.amazon.jsii.JsiiObject.InitializationModeGitHubSourceActionProps.Builder, GitHubSourceActionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
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) |
String |
getActionName() |
String |
getBranch()
The branch to use.
|
SecretValue |
getOauthToken()
A GitHub OAuth token to use for authentication.
|
Artifact |
getOutput() |
String |
getOwner()
The GitHub account/user that owns the repo.
|
String |
getRepo()
The name of the repo, without the username.
|
Number |
getRunOrder() |
GitHubTrigger |
getTrigger()
How AWS CodePipeline should be triggered.
|
String |
getVariablesNamespace() |
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public SecretValue getOauthToken()
GitHubSourceActionProps
It is recommended to use a Secrets Manager Secret to obtain the token:
const oauth = cdk.SecretValue.secretsManager('my-github-token'); new GitHubSource(this, 'GitHubAction', { oauthToken: oauth, ... });
getOauthToken in interface GitHubSourceActionPropspublic Artifact getOutput()
getOutput in interface GitHubSourceActionPropspublic String getOwner()
GitHubSourceActionPropsgetOwner in interface GitHubSourceActionPropspublic String getRepo()
GitHubSourceActionPropsgetRepo in interface GitHubSourceActionPropspublic String getBranch()
GitHubSourceActionPropsDefault: "master"
getBranch in interface GitHubSourceActionPropspublic GitHubTrigger getTrigger()
GitHubSourceActionPropsWith 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
Default: GitHubTrigger.WEBHOOK
getTrigger in interface GitHubSourceActionPropspublic String getActionName()
getActionName in interface CommonActionPropspublic Number getRunOrder()
getRunOrder in interface CommonActionPropspublic String getVariablesNamespace()
getVariablesNamespace in interface CommonActionPropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.