@Generated(value="jsii-pacmak/1.7.0 (build 179a3a5)", date="2020-06-22T16:13:57.312Z") public interface CloudFrontToApiGatewayToLambdaProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloudFrontToApiGatewayToLambdaProps.Builder
A builder for
CloudFrontToApiGatewayToLambdaProps |
static class |
CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy
An implementation for
CloudFrontToApiGatewayToLambdaProps |
| Modifier and Type | Method and Description |
|---|---|
static CloudFrontToApiGatewayToLambdaProps.Builder |
builder() |
default software.amazon.awscdk.services.apigateway.LambdaRestApiProps |
getApiGatewayProps()
Optional user provided props to override the default props for the API Gateway.
|
default Object |
getCloudFrontDistributionProps()
Optional user provided props to override the default props.
|
Boolean |
getDeployLambda()
Whether to create a new Lambda function or use an existing Lambda function.
|
default software.amazon.awscdk.services.lambda.Function |
getExistingLambdaObj()
Existing instance of Lambda Function object.
|
default Boolean |
getInsertHttpSecurityHeaders()
Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.
|
default software.amazon.awscdk.services.lambda.FunctionProps |
getLambdaFunctionProps()
Optional user provided props to override the default props for the Lambda function.
|
@NotNull Boolean getDeployLambda()
If set to false, you must provide a lambda function object as existingLambdaObj
Default: - true
@Nullable default software.amazon.awscdk.services.apigateway.LambdaRestApiProps getApiGatewayProps()
Default: - Default props are used
@Nullable default Object getCloudFrontDistributionProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()
If deploy is set to false only then this property is required
Default: - None
@Nullable default Boolean getInsertHttpSecurityHeaders()
Default: - true
@Nullable default software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()
If deploy is set to true only then this property is required
Default: - Default props are used
static CloudFrontToApiGatewayToLambdaProps.Builder builder()
Copyright © 2020. All rights reserved.