@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-01T09:58:43.089Z") public class LambdaInvokeAction extends Action
Example:
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 . |
IAction.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
LambdaInvokeAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaInvokeAction(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected ActionConfig |
bound(Construct scope,
IStage _stage,
ActionBindOptions options)
This is a renamed version of the
IAction.bind method. |
java.lang.String |
variable(java.lang.String variableName)
Reference a CodePipeline variable defined by the Lambda function this action points to.
|
getProvidedActionProperties
bind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpression
protected LambdaInvokeAction(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaInvokeAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected ActionConfig bound(Construct scope, IStage _stage, ActionBindOptions options)
IAction.bind
method.
public java.lang.String variable(java.lang.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.