@pulumi/cloudngfwaws
Version:
A Pulumi package for creating and managing Cloud NGFW for AWS resources.
46 lines • 1.7 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.getSecurityRuleOutput = exports.getSecurityRule = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Data source for retrieving security rule information.
*
* ## Admin Permission Type
*
* * `Rulestack` (for `scope="Local"`)
* * `Global Rulestack` (for `scope="Global"`)
*/
function getSecurityRule(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("cloudngfwaws:index/getSecurityRule:getSecurityRule", {
"configType": args.configType,
"priority": args.priority,
"ruleList": args.ruleList,
"rulestack": args.rulestack,
"scope": args.scope,
}, opts);
}
exports.getSecurityRule = getSecurityRule;
/**
* Data source for retrieving security rule information.
*
* ## Admin Permission Type
*
* * `Rulestack` (for `scope="Local"`)
* * `Global Rulestack` (for `scope="Global"`)
*/
function getSecurityRuleOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("cloudngfwaws:index/getSecurityRule:getSecurityRule", {
"configType": args.configType,
"priority": args.priority,
"ruleList": args.ruleList,
"rulestack": args.rulestack,
"scope": args.scope,
}, opts);
}
exports.getSecurityRuleOutput = getSecurityRuleOutput;
//# sourceMappingURL=getSecurityRule.js.map