UNPKG

typed-aws

Version:

Helps you write AWS CloudFormation in TypeScript

52 lines (51 loc) 2.08 kB
import { CfnResource, Resolvable } from '../../base'; export declare type Rule_Type = 'AWS::WAFRegional::Rule'; export declare const Rule_Type = "AWS::WAFRegional::Rule"; /** * Resource Type definition for AWS::WAFRegional::Rule {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html} */ export default function Rule(props: Rule_Properties): CfnResource<Rule_Properties>; /** * Resource Type definition for AWS::WAFRegional::Rule {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html} */ export declare type Rule_Properties = { Id?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-metricname} */ MetricName: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-predicates} */ Predicates?: Predicate[]; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-name} */ Name: Resolvable<string>; }; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html} */ export declare type Predicate = { /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-type} */ Type: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-dataid} */ DataId: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-negated} */ Negated: Resolvable<boolean>; };