Interface ApiGatewayToLambdaProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ApiGatewayToLambdaProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.111.0 (build cc021d6)", date="2025-08-22T21:28:48.489Z") public interface ApiGatewayToLambdaProps extends software.amazon.jsii.JsiiSerializable
The properties for the ApiGatewayToLambda class.
  • Method Details

    • getApiGatewayProps

      @Nullable default Object getApiGatewayProps()
      Optional user-provided props to override the default props for the API.

      Default: - Default props are used.

    • getCreateUsagePlan

      @Nullable default Boolean getCreateUsagePlan()
      Whether to create a Usage Plan attached to the API.

      Must be true if apiGatewayProps.defaultMethodOptions.apiKeyRequired is true

      Default: - true (to match legacy behavior)

    • getExistingLambdaObj

      @Nullable default software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()
      Existing instance of Lambda Function object, providing both this and lambdaFunctionProps will cause an error.

      Default: - None

    • getLambdaFunctionProps

      @Nullable default software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()
      User provided props to override the default props for the Lambda function.

      Default: - Default props are used.

    • getLogGroupProps

      @Nullable default software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()
      User provided props to override the default props for the CloudWatchLogs LogGroup.

      Default: - Default props are used

    • builder

      Returns:
      a ApiGatewayToLambdaProps.Builder of ApiGatewayToLambdaProps