import * as core from "@terrascript/core"; export interface PredicatesArgs extends core.SchemaArgs { dataId: string | core.StringOut; negated: boolean | core.BooleanOut; type: string | core.StringOut; } export declare class Predicates extends core.Schema { dataId: string | core.StringOut; negated: boolean | core.BooleanOut; type: string | core.StringOut; } export interface RateBasedRuleArgs extends core.ResourceArgs { /** * (Required) The name or description for the Amazon CloudWatch metric of this rule. */ metricName: string | core.StringOut; /** * (Required) The name or description of the rule. */ name: string | core.StringOut; /** * (Optional) The objects to include in a rule (documented below). */ predicates?: core.Array | core.ArrayOut; /** * (Required) Valid value is IP. */ rateKey: string | core.StringOut; /** * (Required) The maximum number of requests, which have an identical value in the field specified by t * he RateKey, allowed in a five-minute period. Minimum value is 100. */ rateLimit: number | core.NumberOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export declare class RateBasedRule extends core.Resource { /** * Amazon Resource Name (ARN) */ arn: string | core.StringOut; /** * The ID of the WAF rule. */ id: string | core.StringOut; /** * (Required) The name or description for the Amazon CloudWatch metric of this rule. */ metricName: string | core.StringOut; /** * (Required) The name or description of the rule. */ name: string | core.StringOut; /** * (Optional) The objects to include in a rule (documented below). */ predicates?: core.Array | core.ArrayOut; /** * (Required) Valid value is IP. */ rateKey: string | core.StringOut; /** * (Required) The maximum number of requests, which have an identical value in the field specified by t * he RateKey, allowed in a five-minute period. Minimum value is 100. */ rateLimit: number | core.NumberOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: RateBasedRuleArgs); getNamespace(): string; } //# sourceMappingURL=rate_based_rule.d.ts.map