public static final class ApiGatewayToLambdaProps.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayToLambdaProps>
ApiGatewayToLambdaProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApiGatewayToLambdaProps.Builder |
apiGatewayProps(Object apiGatewayProps)
Sets the value of
ApiGatewayToLambdaProps.getApiGatewayProps() |
ApiGatewayToLambdaProps |
build()
Builds the configured instance.
|
ApiGatewayToLambdaProps.Builder |
deployLambda(Boolean deployLambda)
Sets the value of
ApiGatewayToLambdaProps.getDeployLambda() |
ApiGatewayToLambdaProps.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Sets the value of
ApiGatewayToLambdaProps.getExistingLambdaObj() |
ApiGatewayToLambdaProps.Builder |
lambdaFunctionProps(Object lambdaFunctionProps)
Sets the value of
ApiGatewayToLambdaProps.getLambdaFunctionProps() |
public ApiGatewayToLambdaProps.Builder deployLambda(Boolean deployLambda)
ApiGatewayToLambdaProps.getDeployLambda()deployLambda - Whether to create a new Lambda function or use an existing Lambda function. This parameter is required.
If set to false, you must provide an existing function for the existingLambdaObj property.thispublic ApiGatewayToLambdaProps.Builder apiGatewayProps(Object apiGatewayProps)
ApiGatewayToLambdaProps.getApiGatewayProps()apiGatewayProps - Optional user-provided props to override the default props for the API.thispublic ApiGatewayToLambdaProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
ApiGatewayToLambdaProps.getExistingLambdaObj()existingLambdaObj - An optional, existing Lambda function.
This property is required if deployLambda is set to false.thispublic ApiGatewayToLambdaProps.Builder lambdaFunctionProps(Object lambdaFunctionProps)
ApiGatewayToLambdaProps.getLambdaFunctionProps()lambdaFunctionProps - Optional user-provided props to override the default props for the Lambda function.
This property is only required if deployLambda is set to true.thispublic ApiGatewayToLambdaProps build()
build in interface software.amazon.jsii.Builder<ApiGatewayToLambdaProps>ApiGatewayToLambdaPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.