Skip to main content

staging_accounts

Creates, updates, deletes, gets or lists a staging_accounts resource.

Overview​

Namestaging_accounts
TypeResource
Idaws.drs.staging_accounts

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringAccount ID of AWS account. (pattern: <code>.[0-9]{12,}.</code>)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_staging_accountsselectregionmaxResults, nextTokenReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of staging Accounts to retrieve.
nextTokenstringThe token of the next staging Account to retrieve.

SELECT examples​

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 }}'
;