UNPKG

typed-aws

Version:

Helps you write AWS CloudFormation in TypeScript

23 lines (22 loc) 1.05 kB
"use strict"; // CloudFormation Resource AWS::WAFv2::WebACL Object.defineProperty(exports, "__esModule", { value: true }); exports.WebACL_Type = void 0; const base_1 = require("../../base"); exports.WebACL_Type = 'AWS::WAFv2::WebACL'; /** * Contains the Rules that identify the requests that you want to allow, * block, or count. In a WebACL, you also specify a default action (ALLOW * or BLOCK), and the action for each Rule that you add to a WebACL, for * example, block requests from specified IP addresses or block requests * from specified referrers. You also associate the WebACL with a * CloudFront distribution to identify the requests that you want AWS WAF * to filter. If you add more than one Rule to a WebACL, a request needs * to match only one of the specifications to be allowed, blocked, or * counted. {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html} */ function WebACL(props) { return new base_1.CfnResource(exports.WebACL_Type, props); } exports.default = WebACL;