member_accounts
Creates, updates, deletes, gets or lists a member_accounts resource.
Overview
| Name | member_accounts |
| Type | Resource |
| Id | aws.fms.member_accounts |
Fields
The following fields are returned by SELECT queries:
- list_member_accounts
| Name | Datatype | Description |
|---|---|---|
member_account | string | An array of account IDs. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_member_accounts | select | region | Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web Services organization. Either an Firewall Manager administrator or the organization's management account can make this request. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_member_accounts
Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web Services organization. Either an Firewall Manager administrator or the organization's management account can make this request.
SELECT
member_account
FROM aws.fms.member_accounts
WHERE region = '{{ region }}' -- required
;