UNPKG

@pulumi/cloudngfwaws

Version:

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

89 lines 2.15 kB
import * as pulumi from "@pulumi/pulumi"; /** * 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({}); * ``` */ export declare function getCountry(args?: GetCountryArgs, opts?: pulumi.InvokeOptions): Promise<GetCountryResult>; /** * A collection of arguments for invoking getCountry. */ export interface GetCountryArgs { /** * Max number of results. Defaults to `100`. */ maxResults?: number; /** * Pagination token. */ token?: string; } /** * A collection of values returned by getCountry. */ export interface GetCountryResult { /** * The country code (as the key) and description (as the value). */ readonly codes: { [key: string]: string; }; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Max number of results. Defaults to `100`. */ readonly maxResults?: number; /** * Token for the next page of results. */ readonly nextToken: string; /** * Pagination token. */ readonly token?: string; } /** * 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({}); * ``` */ export declare function getCountryOutput(args?: GetCountryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCountryResult>; /** * A collection of arguments for invoking getCountry. */ export interface GetCountryOutputArgs { /** * Max number of results. Defaults to `100`. */ maxResults?: pulumi.Input<number | undefined>; /** * Pagination token. */ token?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getCountry.d.ts.map