import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * High-level information for a managed rule group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafv2.getManagedRuleGroup({ * name: "AWSManagedRulesCommonRuleSet", * scope: "REGIONAL", * vendorName: "AWS", * }); * ``` */ export declare function getManagedRuleGroup(args: GetManagedRuleGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedRuleGroup. */ export interface GetManagedRuleGroupArgs { /** * Managed rule group name. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Whether this is for a global resource type, such as a Amazon CloudFront distribution. For an AWS Amplify application, use `CLOUDFRONT`. Valid values: `CLOUDFRONT`, `REGIONAL`. */ scope: string; /** * Managed rule group vendor name. */ vendorName: string; /** * Version of the rule group. */ versionName?: string; } /** * A collection of values returned by getManagedRuleGroup. */ export interface GetManagedRuleGroupResult { /** * Labels that one or more rules in this rule group add to matching web requests. See Labels below for details. */ readonly availableLabels: outputs.wafv2.GetManagedRuleGroupAvailableLabel[]; /** * WCUs required for this rule group. */ readonly capacity: number; /** * Labels that one or more rules in this rule group match against in label match statements. See Labels below for details. */ readonly consumedLabels: outputs.wafv2.GetManagedRuleGroupConsumedLabel[]; /** * Label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix. */ readonly labelNamespace: string; /** * Name of the header. */ readonly name: string; readonly region: string; /** * High-level information about the rules. See `rules` Block below for details. */ readonly rules: outputs.wafv2.GetManagedRuleGroupRule[]; readonly scope: string; /** * ARN of the SNS topic that's used to provide notification of changes to the managed rule group. */ readonly snsTopicArn: string; readonly vendorName: string; readonly versionName?: string; } /** * High-level information for a managed rule group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafv2.getManagedRuleGroup({ * name: "AWSManagedRulesCommonRuleSet", * scope: "REGIONAL", * vendorName: "AWS", * }); * ``` */ export declare function getManagedRuleGroupOutput(args: GetManagedRuleGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedRuleGroup. */ export interface GetManagedRuleGroupOutputArgs { /** * Managed rule group name. */ name: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Whether this is for a global resource type, such as a Amazon CloudFront distribution. For an AWS Amplify application, use `CLOUDFRONT`. Valid values: `CLOUDFRONT`, `REGIONAL`. */ scope: pulumi.Input; /** * Managed rule group vendor name. */ vendorName: pulumi.Input; /** * Version of the rule group. */ versionName?: pulumi.Input; } //# sourceMappingURL=getManagedRuleGroup.d.ts.map