Amplify Toolbox
    Preparing search index...

    Type Alias HostingWafConfig

    WAF configuration for CloudFront protection.

    type HostingWafConfig = {
        enabled: boolean;
        rateLimit?: number;
        webAclArn?: string;
    }
    Index

    Properties

    enabled: boolean
    rateLimit?: number

    Requests per 5-minute window per IP. Default: 1000

    webAclArn?: string

    ARN of an existing WAFv2 WebACL in us-east-1. When provided, the construct uses this ACL directly instead of creating a new one. Enables cross-region deployments.