public static final class ApiGatewayToLambda.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayToLambda>
ApiGatewayToLambda.| Modifier and Type | Method and Description |
|---|---|
ApiGatewayToLambda.Builder |
apiGatewayProps(Object apiGatewayProps)
Optional user-provided props to override the default props for the API.
|
ApiGatewayToLambda |
build() |
static ApiGatewayToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
ApiGatewayToLambda.Builder |
deployLambda(Boolean deployLambda)
Whether to create a new Lambda function or use an existing Lambda function.
|
ApiGatewayToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
An optional, existing Lambda function.
|
ApiGatewayToLambda.Builder |
lambdaFunctionProps(Object lambdaFunctionProps)
Optional user-provided props to override the default props for the Lambda function.
|
public static ApiGatewayToLambda.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.ApiGatewayToLambda.Builder.public ApiGatewayToLambda.Builder deployLambda(Boolean deployLambda)
If set to false, you must provide an existing function for the existingLambdaObj property.
Default: - true
deployLambda - Whether to create a new Lambda function or use an existing Lambda function. This parameter is required.thispublic ApiGatewayToLambda.Builder apiGatewayProps(Object apiGatewayProps)
Default: - Default props are used.
apiGatewayProps - Optional user-provided props to override the default props for the API. This parameter is required.thispublic ApiGatewayToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
This property is required if deployLambda is set to false.
Default: - None
existingLambdaObj - An optional, existing Lambda function. This parameter is required.thispublic ApiGatewayToLambda.Builder lambdaFunctionProps(Object lambdaFunctionProps)
This property is only required if deployLambda is set to true.
Default: - Default props are used.
lambdaFunctionProps - Optional user-provided props to override the default props for the Lambda function. This parameter is required.thispublic ApiGatewayToLambda build()
build in interface software.amazon.jsii.Builder<ApiGatewayToLambda>Copyright © 2020. All rights reserved.