accounts_list_only
Lists accounts
in a region or regions, for all properties use accounts
Overview
Name | accounts_list_only |
Type | Resource |
Description | You can use AWS::Organizations::Account to manage accounts in organization. |
Id | aws.organizations.accounts_list_only |
Fields
Name | Datatype | Description |
---|---|---|
account_id | string | If the account was created successfully, the unique identifier (ID) of the new account. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all accounts
in a region.
SELECT
region,
account_id
FROM aws.organizations.accounts_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the accounts_list_only
resource, see accounts