@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.543Z") @Stability(value=Stable) public class LambdaInvokeAction extends Action
Example:
// Example automatically generated from non-compiling source. May contain errors.
Function fn;
Artifact sourceOutput = new Artifact();
Artifact buildOutput = new Artifact();
LambdaInvokeAction lambdaAction = LambdaInvokeAction.Builder.create()
.actionName("Lambda")
.inputs(List.of(sourceOutput, buildOutput))
.outputs(List.of(
new Artifact("Out1"),
new Artifact("Out2")))
.lambda(fn)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
LambdaInvokeAction.Builder
A fluent builder for
LambdaInvokeAction. |
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
LambdaInvokeAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaInvokeAction(software.amazon.jsii.JsiiObjectRef objRef) |
|
LambdaInvokeAction(LambdaInvokeActionProps props) |
| 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. |
String |
variable(String variableName)
Reference a CodePipeline variable defined by the Lambda function this action points to.
|
getProvidedActionPropertiesbind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpressionjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LambdaInvokeAction(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaInvokeAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public LambdaInvokeAction(@NotNull
LambdaInvokeActionProps 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 String variable(@NotNull String variableName)
Variables in Lambda invoke actions are defined by calling the PutJobSuccessResult CodePipeline API call with the 'outputVariables' property filled.
variableName - the name of the variable to reference. This parameter is required.Copyright © 2022. All rights reserved.