typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
23 lines (22 loc) • 1.09 kB
JavaScript
;
// CloudFormation Resource AWS::WAFv2::RuleGroup
Object.defineProperty(exports, "__esModule", { value: true });
exports.RuleGroup_Type = void 0;
const base_1 = require("../../base");
exports.RuleGroup_Type = 'AWS::WAFv2::RuleGroup';
/**
* Contains the Rules that identify the requests that you want to allow,
* block, or count. In a RuleGroup, you also specify a default action
* (ALLOW or BLOCK), and the action for each Rule that you add to a
* RuleGroup, for example, block requests from specified IP addresses or
* block requests from specified referrers. You also associate the
* RuleGroup with a CloudFront distribution to identify the requests that
* you want AWS WAF to filter. If you add more than one Rule to a
* RuleGroup, 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-rulegroup.html}
*/
function RuleGroup(props) {
return new base_1.CfnResource(exports.RuleGroup_Type, props);
}
exports.default = RuleGroup;