Class GitHubSourceAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.Action
software.amazon.awscdk.services.codepipeline.actions.Action
software.amazon.awscdk.services.codepipeline.actions.GitHubSourceAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.440Z")
@Stability(Stable)
public class GitHubSourceAction
extends Action
Source that is provided by a GitHub repository.
Example:
Artifact sourceOutput; PipelineProject project; GitHubSourceAction sourceAction = GitHubSourceAction.Builder.create() .actionName("Github_Source") .output(sourceOutput) .owner("my-owner") .repo("my-repo") .oauthToken(SecretValue.secretsManager("my-github-token")) .variablesNamespace("MyNamespace") .build(); // later: // later: CodeBuildAction.Builder.create() .actionName("CodeBuild") .project(project) .input(sourceOutput) .environmentVariables(Map.of( "COMMIT_URL", BuildEnvironmentVariable.builder() .value(sourceAction.getVariables().getCommitUrl()) .build())) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IAction
IAction.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
GitHubSourceAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
GitHubSourceAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionConfig
bound
(Construct scope, IStage stage, ActionBindOptions _options) This is a renamed version of theinvalid @link
IAction.bind
The variables emitted by this action.Methods inherited from class software.amazon.awscdk.services.codepipeline.actions.Action
getProvidedActionProperties
Methods inherited from class software.amazon.awscdk.services.codepipeline.Action
bind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpression
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
GitHubSourceAction
protected GitHubSourceAction(software.amazon.jsii.JsiiObjectRef objRef) -
GitHubSourceAction
protected GitHubSourceAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
GitHubSourceAction
- Parameters:
props
- This parameter is required.
-
-
Method Details
-
bound
@Stability(Stable) @NotNull protected ActionConfig bound(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions _options) This is a renamed version of theinvalid @link
IAction.bind
-
getVariables
The variables emitted by this action.
-