UNPKG

@pulumi/cloudngfwaws

Version:

A Pulumi package for creating and managing Cloud NGFW for AWS resources.

64 lines 1.98 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.getRulestackOutput = exports.getRulestack = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Data source for retrieving rulestack information. * * ## Admin Permission Type * * * `Rulestack` (for `scope="Local"`) * * `Global Rulestack` (for `scope="Global"`) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudngfwaws from "@pulumi/cloudngfwaws"; * * const example = cloudngfwaws.getRulestack({ * name: "my-rulestack-name", * }); * ``` */ function getRulestack(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("cloudngfwaws:index/getRulestack:getRulestack", { "configType": args.configType, "name": args.name, "scope": args.scope, }, opts); } exports.getRulestack = getRulestack; /** * Data source for retrieving rulestack information. * * ## Admin Permission Type * * * `Rulestack` (for `scope="Local"`) * * `Global Rulestack` (for `scope="Global"`) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudngfwaws from "@pulumi/cloudngfwaws"; * * const example = cloudngfwaws.getRulestack({ * name: "my-rulestack-name", * }); * ``` */ function getRulestackOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("cloudngfwaws:index/getRulestack:getRulestack", { "configType": args.configType, "name": args.name, "scope": args.scope, }, opts); } exports.getRulestackOutput = getRulestackOutput; //# sourceMappingURL=getRulestack.js.map