@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:58.418Z") @Stability(value=Experimental) public class LambdaInvokeFunction extends AwsApiCall
Use this istead of the generic AwsApiCall in order to invoke a lambda function. This will automatically create the correct permissions to invoke the function
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.integtests.*;
LambdaInvokeFunction lambdaInvokeFunction = LambdaInvokeFunction.Builder.create(this, "MyLambdaInvokeFunction")
.functionName("functionName")
// the properties below are optional
.invocationType(InvocationType.EVENT)
.logType(LogType.NONE)
.payload("payload")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
LambdaInvokeFunction.Builder
(experimental) A fluent builder for
LambdaInvokeFunction. |
software.amazon.jsii.JsiiObject.InitializationModeIAwsApiCall.Jsii$Default, IAwsApiCall.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
LambdaInvokeFunction(software.constructs.Construct scope,
String id,
LambdaInvokeFunctionProps props) |
protected |
LambdaInvokeFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaInvokeFunction(software.amazon.jsii.JsiiObjectRef objRef) |
assertAtPath, expect, getAtt, getAttString, getProvider, setProvidergetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected LambdaInvokeFunction(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaInvokeFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public LambdaInvokeFunction(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
LambdaInvokeFunctionProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.