Interface CloudFrontToApiGatewayToLambdaProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-01T15:56:31.660Z") public interface CloudFrontToApiGatewayToLambdaProps extends software.amazon.jsii.JsiiSerializable
  • Method Details

    • getApiGatewayProps

      @Nullable default Object getApiGatewayProps()
      Optional user provided props to override the default props for the API Gateway.

      Default: - Default props are used

    • getCloudFrontDistributionProps

      @Nullable default Object 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 and lambdaFunctionProps will cause an error.

      Default: - None

    • getInsertHttpSecurityHeaders

      @Nullable 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.

      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 insertHttpSecurityHeaders prop. Will throw an error if both insertHttpSecurityHeaders is set to true and ResponseSecurityHeadersBehavior is passed.

      Default: - undefined

    • builder

      Returns:
      a CloudFrontToApiGatewayToLambdaProps.Builder of CloudFrontToApiGatewayToLambdaProps