@Generated(value="jsii-pacmak/1.78.1 (build 878761e)", date="2023-03-18T14:30:42.228Z") 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 Object |
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.
|
default software.amazon.awscdk.services.s3.BucketProps |
getCloudFrontLoggingBucketProps()
Optional user provided props to override the default props for the CloudFront Logging Bucket.
|
default software.amazon.awscdk.services.lambda.Function |
getExistingLambdaObj()
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
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.
|
default software.amazon.awscdk.services.logs.LogGroupProps |
getLogGroupProps()
Optional user provided props to override the default props for the CloudWatchLogs LogGroup.
|
default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps |
getResponseHeadersPolicyProps()
Optional user provided configuration that cloudfront applies to all http responses.
|
@Nullable default Object getApiGatewayProps()
Default: - Default props are used
@Nullable default Object getCloudFrontDistributionProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()
Default: - None
@Nullable default Boolean getInsertHttpSecurityHeaders()
Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter.
Default: - true
@Nullable default software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()
Can be used to pass a custom ResponseSecurityHeadersBehavior, ResponseCustomHeadersBehavior or ResponseHeadersCorsBehavior to the cloudfront distribution.
Passing a custom ResponseSecurityHeadersBehavior is mutually exclusive with turning on the default security headers
via insertHttpSecurityHeaders prop. Will throw an error if both insertHttpSecurityHeaders is set to true
and ResponseSecurityHeadersBehavior is passed.
Default: - undefined
static CloudFrontToApiGatewayToLambdaProps.Builder builder()
Copyright © 2023. All rights reserved.