Class LambdaDestination

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.LambdaDestination
All Implemented Interfaces:
IEventDestination, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-24T10:56:26.891Z") @Stability(Stable) public class LambdaDestination extends software.amazon.jsii.JsiiObject implements IEventDestination
Use an AWS Lambda function as an event destination.

Example:

 Function fn;
 Extension.Builder.create(this, "MyExtension")
         .actions(List.of(
             Action.Builder.create()
                     .actionPoints(List.of(ActionPoint.ON_DEPLOYMENT_START))
                     .eventDestination(new LambdaDestination(fn))
                     .build()))
         .build();
 
  • Constructor Details

    • LambdaDestination

      protected LambdaDestination(software.amazon.jsii.JsiiObjectRef objRef)
    • LambdaDestination

      protected LambdaDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • LambdaDestination

      @Stability(Stable) public LambdaDestination(@NotNull IFunction func)
      Parameters:
      func - This parameter is required.
  • Method Details