1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. organizations
  6. Account

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    You can use AWS::Organizations::Account to manage accounts in organization.

    Create Account Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
    @overload
    def Account(resource_name: str,
                args: AccountArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Account(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                email: Optional[str] = None,
                account_name: Optional[str] = None,
                parent_ids: Optional[Sequence[str]] = None,
                role_name: Optional[str] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
    public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
    public Account(String name, AccountArgs args)
    public Account(String name, AccountArgs args, CustomResourceOptions options)
    
    type: aws-native:organizations:Account
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_organizations_account" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Account Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Account resource accepts the following input properties:

    Email string
    The email address of the owner to assign to the new member account.
    AccountName string
    The friendly name of the member account.
    ParentIds List<string>
    List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
    RoleName string
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    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.
    Email string
    The email address of the owner to assign to the new member account.
    AccountName string
    The friendly name of the member account.
    ParentIds []string
    List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
    RoleName string
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
    Tags TagArgs
    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.
    email string
    The email address of the owner to assign to the new member account.
    account_name string
    The friendly name of the member account.
    parent_ids list(string)
    List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
    role_name string
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
    tags list(object)
    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.
    email String
    The email address of the owner to assign to the new member account.
    accountName String
    The friendly name of the member account.
    parentIds List<String>
    List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
    roleName String
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
    tags List<Tag>
    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.
    email string
    The email address of the owner to assign to the new member account.
    accountName string
    The friendly name of the member account.
    parentIds string[]
    List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
    roleName string
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
    tags Tag[]
    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.
    email str
    The email address of the owner to assign to the new member account.
    account_name str
    The friendly name of the member account.
    parent_ids Sequence[str]
    List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
    role_name str
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
    tags Sequence[TagArgs]
    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.
    email String
    The email address of the owner to assign to the new member account.
    accountName String
    The friendly name of the member account.
    parentIds List<String>
    List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
    roleName String
    The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
    tags List<Property Map>
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:

    AccountId string
    If the account was created successfully, the unique identifier (ID) of the new account.
    Arn string
    The Amazon Resource Name (ARN) of the account.
    Id string
    The provider-assigned unique ID for this managed resource.
    JoinedMethod Pulumi.AwsNative.Organizations.AccountJoinedMethod
    The method by which the account joined the organization.
    JoinedTimestamp string
    The date the account became a part of the organization.
    Paths List<string>
    The paths in the organization where the account exists.
    State Pulumi.AwsNative.Organizations.AccountState
    The state of the account in the organization.
    Status Pulumi.AwsNative.Organizations.AccountStatus
    The status of the account in the organization.
    AccountId string
    If the account was created successfully, the unique identifier (ID) of the new account.
    Arn string
    The Amazon Resource Name (ARN) of the account.
    Id string
    The provider-assigned unique ID for this managed resource.
    JoinedMethod AccountJoinedMethod
    The method by which the account joined the organization.
    JoinedTimestamp string
    The date the account became a part of the organization.
    Paths []string
    The paths in the organization where the account exists.
    State AccountStateEnum
    The state of the account in the organization.
    Status AccountStatus
    The status of the account in the organization.
    account_id string
    If the account was created successfully, the unique identifier (ID) of the new account.
    arn string
    The Amazon Resource Name (ARN) of the account.
    id string
    The provider-assigned unique ID for this managed resource.
    joined_method "INVITED" | "CREATED"
    The method by which the account joined the organization.
    joined_timestamp string
    The date the account became a part of the organization.
    paths list(string)
    The paths in the organization where the account exists.
    state "PENDING_ACTIVATION" | "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE" | "CLOSED"
    The state of the account in the organization.
    status "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE"
    The status of the account in the organization.
    accountId String
    If the account was created successfully, the unique identifier (ID) of the new account.
    arn String
    The Amazon Resource Name (ARN) of the account.
    id String
    The provider-assigned unique ID for this managed resource.
    joinedMethod AccountJoinedMethod
    The method by which the account joined the organization.
    joinedTimestamp String
    The date the account became a part of the organization.
    paths List<String>
    The paths in the organization where the account exists.
    state AccountState
    The state of the account in the organization.
    status AccountStatus
    The status of the account in the organization.
    accountId string
    If the account was created successfully, the unique identifier (ID) of the new account.
    arn string
    The Amazon Resource Name (ARN) of the account.
    id string
    The provider-assigned unique ID for this managed resource.
    joinedMethod AccountJoinedMethod
    The method by which the account joined the organization.
    joinedTimestamp string
    The date the account became a part of the organization.
    paths string[]
    The paths in the organization where the account exists.
    state AccountState
    The state of the account in the organization.
    status AccountStatus
    The status of the account in the organization.
    account_id str
    If the account was created successfully, the unique identifier (ID) of the new account.
    arn str
    The Amazon Resource Name (ARN) of the account.
    id str
    The provider-assigned unique ID for this managed resource.
    joined_method AccountJoinedMethod
    The method by which the account joined the organization.
    joined_timestamp str
    The date the account became a part of the organization.
    paths Sequence[str]
    The paths in the organization where the account exists.
    state AccountState
    The state of the account in the organization.
    status AccountStatus
    The status of the account in the organization.
    accountId String
    If the account was created successfully, the unique identifier (ID) of the new account.
    arn String
    The Amazon Resource Name (ARN) of the account.
    id String
    The provider-assigned unique ID for this managed resource.
    joinedMethod "INVITED" | "CREATED"
    The method by which the account joined the organization.
    joinedTimestamp String
    The date the account became a part of the organization.
    paths List<String>
    The paths in the organization where the account exists.
    state "PENDING_ACTIVATION" | "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE" | "CLOSED"
    The state of the account in the organization.
    status "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE"
    The status of the account in the organization.

    Look up Existing Account Resource

    Get an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Account
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Account
    func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
    public static Account Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Account get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAccount:    type: aws-native:organizations:Account    get:      id: ${id}
    import {
      to = aws-native_organizations_account.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AccountState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AccountJoinedMethod

    The method by which the account joined the organization.

    NameValue
    InvitedINVITED
    CreatedCREATED
    NameValue
    AccountJoinedMethodInvitedINVITED
    AccountJoinedMethodCreatedCREATED
    Value
    INVITED
    CREATED
    NameValue
    InvitedINVITED
    CreatedCREATED
    NameValue
    InvitedINVITED
    CreatedCREATED
    NameValue
    INVITEDINVITED
    CREATEDCREATED
    Value
    INVITED
    CREATED

    AccountState

    The state of the account in the organization.

    NameValue
    PendingActivationPENDING_ACTIVATION
    ActiveACTIVE
    SuspendedSUSPENDED
    PendingClosurePENDING_CLOSURE
    ClosedCLOSED
    NameValue
    AccountStatePendingActivationPENDING_ACTIVATION
    AccountStateActiveACTIVE
    AccountStateSuspendedSUSPENDED
    AccountStatePendingClosurePENDING_CLOSURE
    AccountStateClosedCLOSED
    Value
    PENDING_ACTIVATION
    ACTIVE
    SUSPENDED
    PENDING_CLOSURE
    CLOSED
    NameValue
    PendingActivationPENDING_ACTIVATION
    ActiveACTIVE
    SuspendedSUSPENDED
    PendingClosurePENDING_CLOSURE
    ClosedCLOSED
    NameValue
    PendingActivationPENDING_ACTIVATION
    ActiveACTIVE
    SuspendedSUSPENDED
    PendingClosurePENDING_CLOSURE
    ClosedCLOSED
    NameValue
    PENDING_ACTIVATIONPENDING_ACTIVATION
    ACTIVEACTIVE
    SUSPENDEDSUSPENDED
    PENDING_CLOSUREPENDING_CLOSURE
    CLOSEDCLOSED
    Value
    PENDING_ACTIVATION
    ACTIVE
    SUSPENDED
    PENDING_CLOSURE
    CLOSED

    AccountStatus

    The status of the account in the organization.

    NameValue
    ActiveACTIVE
    SuspendedSUSPENDED
    PendingClosurePENDING_CLOSURE
    NameValue
    AccountStatusActiveACTIVE
    AccountStatusSuspendedSUSPENDED
    AccountStatusPendingClosurePENDING_CLOSURE
    Value
    ACTIVE
    SUSPENDED
    PENDING_CLOSURE
    NameValue
    ActiveACTIVE
    SuspendedSUSPENDED
    PendingClosurePENDING_CLOSURE
    NameValue
    ActiveACTIVE
    SuspendedSUSPENDED
    PendingClosurePENDING_CLOSURE
    NameValue
    ACTIVEACTIVE
    SUSPENDEDSUSPENDED
    PENDING_CLOSUREPENDING_CLOSURE
    Value
    ACTIVE
    SUSPENDED
    PENDING_CLOSURE

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial