experiment_target_account_configurations
Creates, updates, deletes, gets or lists an experiment_target_account_configurations resource.
Overview
| Name | experiment_target_account_configurations |
| Type | Resource |
| Id | aws.fis.experiment_target_account_configurations |
Fields
The following fields are returned by SELECT queries:
- get_experiment_target_account_configuration
- list_experiment_target_account_configurations
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Amazon Web Services account ID of the target account. (pattern: <code>[\S]+</code>) |
description | string | The description of the target account. (pattern: <code>[\s\S]*</code>) |
role_arn | string | The Amazon Resource Name (ARN) of an IAM role for the target account. (pattern: <code>[\S]+</code>) |
| Name | Datatype | Description |
|---|---|---|
next_token | string | The token to use to retrieve the next page of results. This value is null when there are no more results to return. (pattern: <code>[\S]+</code>) |
target_account_configurations | array | The target account configurations. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_experiment_target_account_configuration | select | id, account_id, region | Gets information about the specified target account configuration of the experiment. | |
list_experiment_target_account_configurations | select | id, region | nextToken | Lists the target account configurations of the specified experiment. |
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 |
|---|---|---|
account_id | string | The Amazon Web Services account ID of the target account. |
id | string | The ID of the experiment. |
region | string | AWS region (default: us-east-1) |
nextToken | string | The token for the next page of results. |
SELECT examples
- get_experiment_target_account_configuration
- list_experiment_target_account_configurations
Gets information about the specified target account configuration of the experiment.
SELECT
account_id,
description,
role_arn
FROM aws.fis.experiment_target_account_configurations
WHERE id = '{{ id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND region = '{{ region }}' -- required
;
Lists the target account configurations of the specified experiment.
SELECT
next_token,
target_account_configurations
FROM aws.fis.experiment_target_account_configurations
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
;