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 |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.
|
ApiGatewayToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
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 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)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored. This parameter is required.thispublic ApiGatewayToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used.
lambdaFunctionProps - 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.