GradientEdge CDK Utils
    Preparing search index...

    Interface SiteResponseHeadersPolicyProps

    interface SiteResponseHeadersPolicyProps {
        comment?: string;
        corsBehavior?: ResponseHeadersCorsBehavior;
        customHeadersBehavior?: ResponseCustomHeadersBehavior;
        removeHeaders?: string[];
        responseHeadersPolicyName?: string;
        securityHeadersBehavior: SiteSecurityHeadersBehavior;
        serverTimingSamplingRate?: number;
        type: SiteResponseHeaderPolicyType;
    }

    Hierarchy

    • ResponseHeadersPolicyProps
      • SiteResponseHeadersPolicyProps
    Index

    Properties

    comment?: string

    A comment to describe the response headers policy.

    - no comment
    
    corsBehavior?: ResponseHeadersCorsBehavior

    A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

    - no cors behavior
    
    customHeadersBehavior?: ResponseCustomHeadersBehavior

    A configuration for a set of custom HTTP response headers.

    - no custom headers behavior
    
    removeHeaders?: string[]

    A list of HTTP response headers that CloudFront removes from HTTP responses that it sends to viewers.

    - no headers are removed
    
    responseHeadersPolicyName?: string

    A unique name to identify the response headers policy.

    • generated from the id
    securityHeadersBehavior: SiteSecurityHeadersBehavior

    A configuration for a set of security-related HTTP response headers.

    - no security headers behavior
    
    serverTimingSamplingRate?: number

    The percentage of responses that you want CloudFront to add the Server-Timing header to.

    - no Server-Timing header is added to HTTP responses