@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
56 lines • 1.82 kB
JavaScript
// *** 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.getRegexPatternSetOutput = exports.getRegexPatternSet = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Retrieves the summary of a WAFv2 Regex Pattern Set.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.wafv2.getRegexPatternSet({
* name: "some-regex-pattern-set",
* scope: "REGIONAL",
* });
* ```
*/
function getRegexPatternSet(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:wafv2/getRegexPatternSet:getRegexPatternSet", {
"name": args.name,
"region": args.region,
"scope": args.scope,
}, opts);
}
exports.getRegexPatternSet = getRegexPatternSet;
/**
* Retrieves the summary of a WAFv2 Regex Pattern Set.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.wafv2.getRegexPatternSet({
* name: "some-regex-pattern-set",
* scope: "REGIONAL",
* });
* ```
*/
function getRegexPatternSetOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:wafv2/getRegexPatternSet:getRegexPatternSet", {
"name": args.name,
"region": args.region,
"scope": args.scope,
}, opts);
}
exports.getRegexPatternSetOutput = getRegexPatternSetOutput;
//# sourceMappingURL=getRegexPatternSet.js.map
;