/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * You can use AWS::Organizations::Account to manage accounts in organization. */ export interface AwsOrganizationsAccount { /** * The friendly name of the member account. */ AccountName: string; /** * The email address of the owner to assign to the new member account. */ Email: string; /** * The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified. */ RoleName?: string; /** * List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root. */ ParentIds?: string[]; /** * 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?: Tag[]; /** * If the account was created successfully, the unique identifier (ID) of the new account. */ AccountId?: string; /** * The Amazon Resource Name (ARN) of the account. */ Arn?: string; /** * The method by which the account joined the organization. */ JoinedMethod?: "INVITED" | "CREATED"; /** * The date the account became a part of the organization. */ JoinedTimestamp?: string; /** * The status of the account in the organization. */ Status?: "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE"; } /** * A custom key-value pair associated with a resource within your organization. */ export interface Tag { /** * The key identifier, or name, of the tag. */ Key: string; /** * The string value that's associated with the key of the tag. You can set the value of a tag to an empty string, but you can't set the value of a tag to null. */ Value: string; }