@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.544Z") @Stability(value=Stable) public interface LambdaInvokeActionProps extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
Lambda invoke CodePipeline 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 | Interface and Description |
|---|---|
static class |
LambdaInvokeActionProps.Builder
A builder for
LambdaInvokeActionProps |
static class |
LambdaInvokeActionProps.Jsii$Proxy
An implementation for
LambdaInvokeActionProps |
| Modifier and Type | Method and Description |
|---|---|
static LambdaInvokeActionProps.Builder |
builder() |
default List<Artifact> |
getInputs()
The optional input Artifacts of the Action.
|
IFunction |
getLambda()
The lambda function to invoke.
|
default List<Artifact> |
getOutputs()
The optional names of the output Artifacts of the Action.
|
default Map<String,Object> |
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.
|
default String |
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.
|
getRolegetActionName, getRunOrder, getVariablesNamespace@Stability(value=Stable) @NotNull IFunction getLambda()
@Stability(value=Stable) @Nullable default List<Artifact> getInputs()
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
@Stability(value=Stable) @Nullable default List<Artifact> getOutputs()
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
@Stability(value=Stable) @Nullable default Map<String,Object> getUserParameters()
Only one of userParameters or userParametersString can be specified.
Default: - no user parameters will be passed
@Stability(value=Stable) @Nullable default String getUserParametersString()
Only one of userParametersString or userParameters can be specified.
Default: - no user parameters will be passed
@Stability(value=Stable) static LambdaInvokeActionProps.Builder builder()
builder in interface CommonActionPropsbuilder in interface CommonAwsActionPropsLambdaInvokeActionProps.Builder of LambdaInvokeActionPropsCopyright © 2022. All rights reserved.