UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

56 lines 1.7 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getRuleGroupOutput = exports.getRuleGroup = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the summary of a WAFv2 Rule Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafv2.getRuleGroup({ * name: "some-rule-group", * scope: "REGIONAL", * }); * ``` */ function getRuleGroup(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:wafv2/getRuleGroup:getRuleGroup", { "name": args.name, "region": args.region, "scope": args.scope, }, opts); } exports.getRuleGroup = getRuleGroup; /** * Retrieves the summary of a WAFv2 Rule Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafv2.getRuleGroup({ * name: "some-rule-group", * scope: "REGIONAL", * }); * ``` */ function getRuleGroupOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:wafv2/getRuleGroup:getRuleGroup", { "name": args.name, "region": args.region, "scope": args.scope, }, opts); } exports.getRuleGroupOutput = getRuleGroupOutput; //# sourceMappingURL=getRuleGroup.js.map