UNPKG

@pulumi/aws

Version:

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

56 lines 1.62 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.getIpSetOutput = exports.getIpSet = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the summary of a WAFv2 IP Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafv2.getIpSet({ * name: "some-ip-set", * scope: "REGIONAL", * }); * ``` */ function getIpSet(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:wafv2/getIpSet:getIpSet", { "name": args.name, "region": args.region, "scope": args.scope, }, opts); } exports.getIpSet = getIpSet; /** * Retrieves the summary of a WAFv2 IP Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.wafv2.getIpSet({ * name: "some-ip-set", * scope: "REGIONAL", * }); * ``` */ function getIpSetOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:wafv2/getIpSet:getIpSet", { "name": args.name, "region": args.region, "scope": args.scope, }, opts); } exports.getIpSetOutput = getIpSetOutput; //# sourceMappingURL=getIpSet.js.map