public static final class CloudFrontToApiGatewayToLambdaProps.Builder extends Object implements software.amazon.jsii.Builder<CloudFrontToApiGatewayToLambdaProps>
CloudFrontToApiGatewayToLambdaProps| Constructor and Description |
|---|
Builder() |
public CloudFrontToApiGatewayToLambdaProps.Builder deployLambda(Boolean deployLambda)
CloudFrontToApiGatewayToLambdaProps.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 a lambda function object as existingLambdaObjthispublic CloudFrontToApiGatewayToLambdaProps.Builder apiGatewayProps(software.amazon.awscdk.services.apigateway.LambdaRestApiProps apiGatewayProps)
CloudFrontToApiGatewayToLambdaProps.getApiGatewayProps()apiGatewayProps - Optional user provided props to override the default props for the API Gateway.thispublic CloudFrontToApiGatewayToLambdaProps.Builder cloudFrontDistributionProps(Object cloudFrontDistributionProps)
CloudFrontToApiGatewayToLambdaProps.getCloudFrontDistributionProps()cloudFrontDistributionProps - Optional user provided props to override the default props.thispublic CloudFrontToApiGatewayToLambdaProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
CloudFrontToApiGatewayToLambdaProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object.
If deploy is set to false only then this property is requiredthispublic CloudFrontToApiGatewayToLambdaProps.Builder insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
CloudFrontToApiGatewayToLambdaProps.getInsertHttpSecurityHeaders()insertHttpSecurityHeaders - Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.thispublic CloudFrontToApiGatewayToLambdaProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
CloudFrontToApiGatewayToLambdaProps.getLambdaFunctionProps()lambdaFunctionProps - Optional user provided props to override the default props for the Lambda function.
If deploy is set to true only then this property is requiredthispublic CloudFrontToApiGatewayToLambdaProps build()
build in interface software.amazon.jsii.Builder<CloudFrontToApiGatewayToLambdaProps>CloudFrontToApiGatewayToLambdaPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.