import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * You can use AWS::Organizations::Account to manage accounts in organization. */ export declare class Account extends pulumi.CustomResource { /** * Get an existing Account resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Account; /** * Returns true if the given object is an instance of Account. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Account; /** * If the account was created successfully, the unique identifier (ID) of the new account. */ readonly accountId: pulumi.Output; /** * The friendly name of the member account. */ readonly accountName: pulumi.Output; /** * The Amazon Resource Name (ARN) of the account. */ readonly arn: pulumi.Output; /** * The email address of the owner to assign to the new member account. */ readonly email: pulumi.Output; /** * The method by which the account joined the organization. */ readonly joinedMethod: pulumi.Output; /** * The date the account became a part of the organization. */ readonly joinedTimestamp: pulumi.Output; /** * List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root. */ readonly parentIds: pulumi.Output; /** * The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified. */ readonly roleName: pulumi.Output; /** * The state of the account in the organization. */ readonly state: pulumi.Output; /** * The status of the account in the organization. */ readonly status: pulumi.Output; /** * A list of tags that you want to attach to the newly created account. For each tag in the list, you must specify both a tag key and a value. */ readonly tags: pulumi.Output; /** * Create a Account resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Account resource. */ export interface AccountArgs { /** * The friendly name of the member account. */ accountName?: pulumi.Input; /** * The email address of the owner to assign to the new member account. */ email: pulumi.Input; /** * List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root. */ parentIds?: pulumi.Input[]>; /** * The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified. */ roleName?: pulumi.Input; /** * A list of tags that you want to attach to the newly created account. For each tag in the list, you must specify both a tag key and a value. */ tags?: pulumi.Input[]>; }