Interface LambdaInvokeActionProps
- All Superinterfaces:
CommonActionProps
,CommonAwsActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaInvokeActionProps.Jsii$Proxy
LambdaInvokeAction Lambda invoke CodePipeline Action
.
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());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLambdaInvokeActionProps
static final class
An implementation forLambdaInvokeActionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The optional input Artifacts of the Action.The lambda function to invoke.The optional names of the output Artifacts of the Action.A set of key-value pairs that will be accessible to the invoked Lambda inside the event that the Pipeline will call it with.default String
The string representation of the user parameters that will be accessible to the invoked Lambda inside the event that the Pipeline will call it with.Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonActionProps
getActionName, getRunOrder, getVariablesNamespace
Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLambda
The lambda function to invoke. -
getInputs
The optional input Artifacts of the Action.A Lambda Action can have up to 5 inputs. The inputs will appear in the event passed to the Lambda, under the
'CodePipeline.job'.data.inputArtifacts
path.Default: the Action will not have any inputs
- See Also:
-
getOutputs
The optional names of the output Artifacts of the Action.A Lambda Action can have up to 5 outputs. The outputs will appear in the event passed to the Lambda, under the
'CodePipeline.job'.data.outputArtifacts
path. It is the responsibility of the Lambda to upload ZIP files with the Artifact contents to the provided locations.Default: the Action will not have any outputs
-
getUserParameters
A set of key-value pairs that will be accessible to the invoked Lambda inside the event that the Pipeline will call it with.Only one of
userParameters
oruserParametersString
can be specified.Default: - no user parameters will be passed
- See Also:
-
getUserParametersString
The string representation of the user parameters that will be accessible to the invoked Lambda inside the event that the Pipeline will call it with.Only one of
userParametersString
oruserParameters
can be specified.Default: - no user parameters will be passed
-
builder
- Returns:
- a
LambdaInvokeActionProps.Builder
ofLambdaInvokeActionProps
-