@pulumi/cloudngfwaws
Version:
A Pulumi package for creating and managing Cloud NGFW for AWS resources.
77 lines (76 loc) • 2.13 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Data source get a list of Accounts.
*
* ## Admin Permission Type
*
* * `Rulestack` (for `scope="Local"`)
* * `Global Rulestack` (for `scope="Global"`)
*/
export declare function getAccounts(args?: GetAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountsResult>;
/**
* A collection of arguments for invoking getAccounts.
*/
export interface GetAccountsArgs {
/**
* List of account details.
*/
accountDetails?: inputs.GetAccountsAccountDetail[];
/**
* List of account ids.
*/
accountIds?: string[];
/**
* Flag to include account details while listing accounts. Defaults to `false`.
*/
describe?: boolean;
}
/**
* A collection of values returned by getAccounts.
*/
export interface GetAccountsResult {
/**
* List of account details.
*/
readonly accountDetails: outputs.GetAccountsAccountDetail[];
/**
* List of account ids.
*/
readonly accountIds: string[];
/**
* Flag to include account details while listing accounts. Defaults to `false`.
*/
readonly describe?: boolean;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
}
/**
* Data source get a list of Accounts.
*
* ## Admin Permission Type
*
* * `Rulestack` (for `scope="Local"`)
* * `Global Rulestack` (for `scope="Global"`)
*/
export declare function getAccountsOutput(args?: GetAccountsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountsResult>;
/**
* A collection of arguments for invoking getAccounts.
*/
export interface GetAccountsOutputArgs {
/**
* List of account details.
*/
accountDetails?: pulumi.Input<pulumi.Input<inputs.GetAccountsAccountDetailArgs>[]>;
/**
* List of account ids.
*/
accountIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Flag to include account details while listing accounts. Defaults to `false`.
*/
describe?: pulumi.Input<boolean>;
}