account_status
Creates, updates, deletes, gets or lists an account_status resource.
Overview
| Name | account_status |
| Type | Resource |
| Id | aws.auditmanager.account_status |
Fields
The following fields are returned by SELECT queries:
- get_account_status
| Name | Datatype | Description |
|---|---|---|
status | string | The status of the Amazon Web Services account. (ACTIVE, INACTIVE, PENDING_ACTIVATION) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_account_status | select | region | Gets the registration status of an account in Audit Manager. |
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
- get_account_status
Gets the registration status of an account in Audit Manager.
SELECT
status
FROM aws.auditmanager.account_status
WHERE region = '{{ region }}' -- required
;