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.104.0 (build e79254c)",
date="2024-11-22T02:23:58.996Z")
@Stability(Stable)
public class LambdaInvokeAction
extends Action
CodePipeline invoke Action that is provided by an AWS Lambda function.
Example:
Function fn; Pipeline pipeline = new Pipeline(this, "MyPipeline"); LambdaInvokeAction lambdaAction = LambdaInvokeAction.Builder.create() .actionName("Lambda") .lambda(fn) .build(); pipeline.addStage(StageOptions.builder() .stageName("Lambda") .actions(List.of(lambdaAction)) .build());
- See Also:
-
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
LambdaInvokeAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LambdaInvokeAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionConfig
bound
(software.constructs.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 software.constructs.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:
-