AWS::Organizations::AccountYou can use AWS::Organizations::Account to manage accounts in organization.
5 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AccountName | string | Required |
Email | string | Required |
ParentIds | Array<string> | |
RoleName | string | Write-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
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. |
JoinedMethod | string | The method by which the account joined the organization. |
JoinedTimestamp | string | The date the account became a part of the organization. |
State | string | The state of the account in the organization. |
Status | string | The status of the account in the organization. |
A minimal template with required properties and common optional ones.
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: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
organizations:CreateAccountorganizations:DescribeCreateAccountStatusorganizations:MoveAccountorganizations:ListAccountsorganizations:ListParentsorganizations:TagResourceorganizations:DescribeAccountorganizations:ListTagsForResourceorganizations:DescribeAccountorganizations:ListParentsorganizations:ListTagsForResourceorganizations:MoveAccountorganizations:TagResourceorganizations:UntagResourceorganizations:ListRootsorganizations:DescribeAccountorganizations:ListParentsorganizations:ListTagsForResourceorganizations:CloseAccountorganizations:ListAccountsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAccountId