AWS Fundamentals Logo
AWS Fundamentals
AWS::Organizations::Account

Organizations Account

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

Properties

5 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
AccountName
string
Required
Email
string
Required
ParentIds
Array<string>
RoleName
string
Write-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AccountIdstringIf the account was created successfully, the unique identifier (ID) of the new account.
ArnstringThe Amazon Resource Name (ARN) of the account.
JoinedMethodstringThe method by which the account joined the organization.
JoinedTimestampstringThe date the account became a part of the organization.
StatestringThe state of the account in the organization.
StatusstringThe status of the account in the organization.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Organizations::Account

Resources:
  MyResource:
    Type: AWS::Organizations::Account
    Properties:
      AccountName: "my-accountname"
      Email: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

organizations:CreateAccountorganizations:DescribeCreateAccountStatusorganizations:MoveAccountorganizations:ListAccountsorganizations:ListParentsorganizations:TagResourceorganizations:DescribeAccountorganizations:ListTagsForResource

read

organizations:DescribeAccountorganizations:ListParentsorganizations:ListTagsForResource

update

organizations:MoveAccountorganizations:TagResourceorganizations:UntagResourceorganizations:ListRootsorganizations:DescribeAccountorganizations:ListParentsorganizations:ListTagsForResource

delete

organizations:CloseAccount

list

organizations:ListAccounts

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceOrganizations
Properties11
Required2
TaggingSupported
Primary IDAccountId

Supported Operations

CreateReadUpdateDeleteList

External Links