staging_accounts
Creates, updates, deletes, gets or lists a staging_accounts resource.
Overview
| Name | staging_accounts |
| Type | Resource |
| Id | aws.drs.staging_accounts |
Fields
The following fields are returned by SELECT queries:
- list_staging_accounts
| Name | Datatype | Description |
|---|---|---|
account_id | string | Account ID of AWS account. (pattern: <code>.[0-9]{12,}.</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_staging_accounts | select | region | maxResults, nextToken | Returns an array of staging accounts for existing extended source servers. |
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) |
maxResults | integer | The maximum number of staging Accounts to retrieve. |
nextToken | string | The token of the next staging Account to retrieve. |
SELECT examples
- list_staging_accounts
Returns an array of staging accounts for existing extended source servers.
SELECT
account_id
FROM aws.drs.staging_accounts
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;