Interface CloudFrontToApiGatewayToLambdaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudFrontToApiGatewayToLambdaPropsstatic final classAn implementation forCloudFrontToApiGatewayToLambdaProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectOptional user provided props to override the default props for the API Gateway.default ObjectOptional user provided props to override the default props.default software.amazon.awscdk.services.s3.BucketPropsOptional user provided props to override the default props for the CloudFront Logging Bucket.default software.amazon.awscdk.services.lambda.FunctionExisting instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.default BooleanOptional 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.FunctionPropsOptional user provided props to override the default props for the Lambda function.default software.amazon.awscdk.services.logs.LogGroupPropsOptional user provided props to override the default props for the CloudWatchLogs LogGroup.default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyPropsOptional user provided configuration that cloudfront applies to all http responses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiGatewayProps
Optional user provided props to override the default props for the API Gateway.Default: - Default props are used
-
getCloudFrontDistributionProps
Optional user provided props to override the default props.Default: - Default props are used
-
getCloudFrontLoggingBucketProps
@Nullable default software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()Optional user provided props to override the default props for the CloudFront Logging Bucket.Default: - Default props are used
-
getExistingLambdaObj
@Nullable default software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()Existing instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.Default: - None
-
getInsertHttpSecurityHeaders
Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter.
Default: - true
-
getLambdaFunctionProps
@Nullable default software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()Optional user provided props to override the default props for the Lambda function.Default: - Default props are used
-
getLogGroupProps
@Nullable default software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()Optional user provided props to override the default props for the CloudWatchLogs LogGroup.Default: - Default props are used
-
getResponseHeadersPolicyProps
@Nullable default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()Optional user provided configuration that cloudfront applies to all http responses.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
insertHttpSecurityHeadersprop. Will throw an error if bothinsertHttpSecurityHeadersis set totrueand ResponseSecurityHeadersBehavior is passed.Default: - undefined
-
builder
-