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.constructs.Construct scope,
String id) |
ApiGatewayToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
ApiGatewayToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
ApiGatewayToLambda.Builder |
logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
User provided props to override the default props for the CloudWatchLogs LogGroup.
|
public static ApiGatewayToLambda.Builder create(software.constructs.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, providing both this and `lambdaFunctionProps` will cause an error. 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.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
Default: - Default props are used
logGroupProps - User provided props to override the default props for the CloudWatchLogs LogGroup. This parameter is required.thispublic ApiGatewayToLambda build()
build in interface software.amazon.jsii.Builder<ApiGatewayToLambda>Copyright © 2022. All rights reserved.