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