@pulumi/cloudngfwaws
Version:
A Pulumi package for creating and managing Cloud NGFW for AWS resources.
62 lines • 1.91 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.getNgfwLogProfileOutput = exports.getNgfwLogProfile = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Data source for retrieving log profile information.
*
* ## Admin Permission Type
*
* * `Firewall`
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as cloudngfwaws from "@pulumi/cloudngfwaws";
*
* const example = cloudngfwaws.getNgfwLogProfile({
* ngfw: "example-instance",
* accountId: "123456789",
* });
* ```
*/
function getNgfwLogProfile(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("cloudngfwaws:index/getNgfwLogProfile:getNgfwLogProfile", {
"accountId": args.accountId,
"ngfw": args.ngfw,
}, opts);
}
exports.getNgfwLogProfile = getNgfwLogProfile;
/**
* Data source for retrieving log profile information.
*
* ## Admin Permission Type
*
* * `Firewall`
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as cloudngfwaws from "@pulumi/cloudngfwaws";
*
* const example = cloudngfwaws.getNgfwLogProfile({
* ngfw: "example-instance",
* accountId: "123456789",
* });
* ```
*/
function getNgfwLogProfileOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("cloudngfwaws:index/getNgfwLogProfile:getNgfwLogProfile", {
"accountId": args.accountId,
"ngfw": args.ngfw,
}, opts);
}
exports.getNgfwLogProfileOutput = getNgfwLogProfileOutput;
//# sourceMappingURL=getNgfwLogProfile.js.map