Class CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awsconstructs.services.cloudfrontapigatewaylambda.CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy
All Implemented Interfaces:
CloudFrontToApiGatewayToLambdaProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CloudFrontToApiGatewayToLambdaProps

@Internal public static final class CloudFrontToApiGatewayToLambdaProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudFrontToApiGatewayToLambdaProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CloudFrontToApiGatewayToLambdaProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CloudFrontToApiGatewayToLambdaProps.Builder.
  • Method Details

    • getApiGatewayProps

      public final Object getApiGatewayProps()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      User provided props to override the default props for the API Gateway.

      As of release 2.48.0, clients must include this property with defaultMethodOptions: { authorizationType: string } specified. See Issue1043 in the github repo https://github.com/awslabs/aws-solutions-constructs/issues/1043

      Default: - defaultMethodOptions/authorizationType is required, for other, unspecified values the default props are used

      Specified by:
      getApiGatewayProps in interface CloudFrontToApiGatewayToLambdaProps
    • getCloudFrontDistributionProps

      public final Object getCloudFrontDistributionProps()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      Optional user provided props to override the default props.

      Default: - Default props are used

      Specified by:
      getCloudFrontDistributionProps in interface CloudFrontToApiGatewayToLambdaProps
    • getCloudFrontLoggingBucketProps

      public final software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      Optional user provided props to override the default props for the CloudFront Logging Bucket.

      Default: - Default props are used

      Specified by:
      getCloudFrontLoggingBucketProps in interface CloudFrontToApiGatewayToLambdaProps
    • getExistingLambdaObj

      public final software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      Existing instance of Lambda Function object, providing both this and lambdaFunctionProps will cause an error.

      Default: - None

      Specified by:
      getExistingLambdaObj in interface CloudFrontToApiGatewayToLambdaProps
    • getInsertHttpSecurityHeaders

      public final Boolean getInsertHttpSecurityHeaders()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      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

      Specified by:
      getInsertHttpSecurityHeaders in interface CloudFrontToApiGatewayToLambdaProps
    • getLambdaFunctionProps

      public final software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      Optional user provided props to override the default props for the Lambda function.

      Default: - Default props are used

      Specified by:
      getLambdaFunctionProps in interface CloudFrontToApiGatewayToLambdaProps
    • getLogGroupProps

      public final software.amazon.awscdk.services.logs.LogGroupProps getLogGroupProps()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      Optional user provided props to override the default props for the CloudWatchLogs LogGroup.

      Default: - Default props are used

      Specified by:
      getLogGroupProps in interface CloudFrontToApiGatewayToLambdaProps
    • getResponseHeadersPolicyProps

      public final software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()
      Description copied from interface: CloudFrontToApiGatewayToLambdaProps
      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

      Specified by:
      getResponseHeadersPolicyProps in interface CloudFrontToApiGatewayToLambdaProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object