@pulumi/cloudngfwaws
Version:
A Pulumi package for creating and managing Cloud NGFW for AWS resources.
58 lines • 1.75 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.getCountryOutput = exports.getCountry = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Data source get a list of countries and their country codes.
*
* ## Admin Permission Type
*
* * `Rulestack`
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as cloudngfwaws from "@pulumi/cloudngfwaws";
*
* const example = cloudngfwaws.getCountry({});
* ```
*/
function getCountry(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("cloudngfwaws:index/getCountry:getCountry", {
"maxResults": args.maxResults,
"token": args.token,
}, opts);
}
exports.getCountry = getCountry;
/**
* Data source get a list of countries and their country codes.
*
* ## Admin Permission Type
*
* * `Rulestack`
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as cloudngfwaws from "@pulumi/cloudngfwaws";
*
* const example = cloudngfwaws.getCountry({});
* ```
*/
function getCountryOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("cloudngfwaws:index/getCountry:getCountry", {
"maxResults": args.maxResults,
"token": args.token,
}, opts);
}
exports.getCountryOutput = getCountryOutput;
//# sourceMappingURL=getCountry.js.map