Class LambdaInvokeAction
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.LambdaInvokeAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.458Z")
@Stability(Stable)
public class LambdaInvokeAction
extends Action
CodePipeline invoke Action that is provided by an AWS Lambda function.
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();
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsModifierConstructorDescriptionprotected
LambdaInvokeAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LambdaInvokeAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionConfig
bound
(Construct scope, IStage _stage, ActionBindOptions options) This is a renamed version of theIAction.bind
method.Reference a CodePipeline variable defined by the Lambda function this action points to.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
-
LambdaInvokeAction
protected LambdaInvokeAction(software.amazon.jsii.JsiiObjectRef objRef) -
LambdaInvokeAction
protected LambdaInvokeAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
LambdaInvokeAction
- 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 theIAction.bind
method. -
variable
Reference a CodePipeline variable defined by the Lambda function this action points to.Variables in Lambda invoke actions are defined by calling the PutJobSuccessResult CodePipeline API call with the 'outputVariables' property filled.
- Parameters:
variableName
- the name of the variable to reference. This parameter is required.- See Also:
-