@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.538Z") @Stability(value=Stable) public class GitHubSourceAction extends Action
Example:
// Example automatically generated from non-compiling source. May contain errors.
// Read the secret from Secrets Manager
Pipeline pipeline = new Pipeline(this, "MyPipeline");
Artifact sourceOutput = new Artifact();
GitHubSourceAction sourceAction = GitHubSourceAction.Builder.create()
.actionName("GitHub_Source")
.owner("awslabs")
.repo("aws-cdk")
.oauthToken(SecretValue.secretsManager("my-github-token"))
.output(sourceOutput)
.branch("develop")
.build();
pipeline.addStage(StageOptions.builder()
.stageName("Source")
.actions(List.of(sourceAction))
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
GitHubSourceAction.Builder
A fluent builder for
GitHubSourceAction. |
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
GitHubSourceAction(GitHubSourceActionProps props) |
protected |
GitHubSourceAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitHubSourceAction(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected ActionConfig |
bound(software.constructs.Construct scope,
IStage stage,
ActionBindOptions _options)
This is a renamed version of the
IAction.bind method. |
GitHubSourceVariables |
getVariables()
The variables emitted by this action.
|
getProvidedActionPropertiesbind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpressionjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GitHubSourceAction(software.amazon.jsii.JsiiObjectRef objRef)
protected GitHubSourceAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public GitHubSourceAction(@NotNull
GitHubSourceActionProps props)
props - This parameter is required.@Stability(value=Stable) @NotNull protected ActionConfig bound(@NotNull software.constructs.Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions _options)
IAction.bind method.
@Stability(value=Stable) @NotNull public GitHubSourceVariables getVariables()
Copyright © 2022. All rights reserved.