@pulumi/cloudngfwaws
Version:
A Pulumi package for creating and managing Cloud NGFW for AWS resources.
40 lines • 1.53 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.getValidateRulestackOutput = exports.getValidateRulestack = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Data source to validate the rulestack config.
*
* ## Admin Permission Type
*
* * `Rulestack` (for `scope="Local"`)
* * `Global Rulestack` (for `scope="Global"`)
*/
function getValidateRulestack(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("cloudngfwaws:index/getValidateRulestack:getValidateRulestack", {
"rulestack": args.rulestack,
"scope": args.scope,
}, opts);
}
exports.getValidateRulestack = getValidateRulestack;
/**
* Data source to validate the rulestack config.
*
* ## Admin Permission Type
*
* * `Rulestack` (for `scope="Local"`)
* * `Global Rulestack` (for `scope="Global"`)
*/
function getValidateRulestackOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("cloudngfwaws:index/getValidateRulestack:getValidateRulestack", {
"rulestack": args.rulestack,
"scope": args.scope,
}, opts);
}
exports.getValidateRulestackOutput = getValidateRulestackOutput;
//# sourceMappingURL=getValidateRulestack.js.map