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-01T21:18:08.757Z")
public interface ApiGatewayToLambdaProps
extends software.amazon.jsii.JsiiSerializable
The properties for the ApiGatewayToLambda class.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forApiGatewayToLambdaPropsstatic final classAn implementation forApiGatewayToLambdaProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectOptional user-provided props to override the default props for the API.default BooleanWhether to create a Usage Plan attached to the API.default software.amazon.awscdk.services.lambda.FunctionExisting instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.default software.amazon.awscdk.services.lambda.FunctionPropsUser provided props to override the default props for the Lambda function.default software.amazon.awscdk.services.logs.LogGroupPropsUser provided props to override the default props for the CloudWatchLogs LogGroup.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiGatewayProps
Optional user-provided props to override the default props for the API.Default: - Default props are used.
-
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 andlambdaFunctionPropswill 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.BuilderofApiGatewayToLambdaProps
-