Skip to main content

account_tags

Expands all tag keys and values for accounts in a region

Overview

Nameaccount_tags
TypeResource
DescriptionYou can use AWS::Organizations::Account to manage accounts in organization.
Idaws.organizations.account_tags

Fields

NameDatatypeDescription
account_namestringThe friendly name of the member account.
emailstringThe email address of the owner to assign to the new member account.
role_namestringThe name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.
parent_idsarrayList of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.
account_idstringIf the account was created successfully, the unique identifier (ID) of the new account.
arnstringThe Amazon Resource Name (ARN) of the account.
joined_methodstringThe method by which the account joined the organization.
joined_timestampstringThe date the account became a part of the organization.
statusstringThe status of the account in the organization.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all accounts in a region.

SELECT
region,
account_name,
email,
role_name,
parent_ids,
account_id,
arn,
joined_method,
joined_timestamp,
status,
tag_key,
tag_value
FROM aws.organizations.account_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the account_tags resource, see accounts