@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:40.903Z") 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 . |
IAwsApiCall.Jsii$Default, IAwsApiCall.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
LambdaInvokeFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaInvokeFunction(software.amazon.jsii.JsiiObjectRef objRef) |
|
LambdaInvokeFunction(software.constructs.Construct scope,
java.lang.String id,
LambdaInvokeFunctionProps props) |
assertAtPath, expect, getAtt, getAttString, getProvider, setProvider
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNode
protected LambdaInvokeFunction(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaInvokeFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public LambdaInvokeFunction(software.constructs.Construct scope, java.lang.String id, LambdaInvokeFunctionProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.