Class LambdaInvokeFunction

All Implemented Interfaces:
IConstruct, IDependable, IAwsApiCall,, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.739Z") @Stability(Experimental) public class LambdaInvokeFunction extends AwsApiCall
(experimental) An AWS Lambda Invoke function API call.

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


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 LambdaInvokeFunction lambdaInvokeFunction = LambdaInvokeFunction.Builder.create(this, "MyLambdaInvokeFunction")
         // the properties below are optional
  • Constructor Details

    • LambdaInvokeFunction

      protected LambdaInvokeFunction( objRef)
    • LambdaInvokeFunction

      protected LambdaInvokeFunction( initializationMode)
    • LambdaInvokeFunction

      @Stability(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.