UNPKG

@pulumi/cloudngfwaws

Version:

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

60 lines 1.69 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.getNgfwOutput = exports.getNgfw = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Data source for retrieving NGFW information. * * ## Admin Permission Type * * * `Firewall` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudngfwaws from "@pulumi/cloudngfwaws"; * * const example = cloudngfwaws.getNgfw({ * name: "example-instance", * }); * ``` */ function getNgfw(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("cloudngfwaws:index/getNgfw:getNgfw", { "accountId": args.accountId, "name": args.name, }, opts); } exports.getNgfw = getNgfw; /** * Data source for retrieving NGFW information. * * ## Admin Permission Type * * * `Firewall` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudngfwaws from "@pulumi/cloudngfwaws"; * * const example = cloudngfwaws.getNgfw({ * name: "example-instance", * }); * ``` */ function getNgfwOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("cloudngfwaws:index/getNgfw:getNgfw", { "accountId": args.accountId, "name": args.name, }, opts); } exports.getNgfwOutput = getNgfwOutput; //# sourceMappingURL=getNgfw.js.map