Skip to main content

resolved_test_run_target_resources

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

Overview​

Nameresolved_test_run_target_resources
TypeResource
Idaws.resiliencehubv2.resolved_test_run_target_resources

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_typestringThe AWS FIS resource type the target belongs to, such as aws:ec2:instance, aws:ecs:task, or aws:eks:pod.
target_informationobjectThe raw target information map as returned by AWS FIS.
target_namestringThe name of the target in the AWS FIS experiment template.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_resolved_test_run_target_resourcesselecttest_run_id, serviceArn, regionmaxResults, nextTokenLists the AWS resources that AWS Fault Injection Service (AWS FIS) resolved as targets for a test run.

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)
serviceArnstringThe ARN of the service the test run belongs to.
test_run_idstringThe identifier of the test run to list resolved target resources for.
maxResultsinteger
nextTokenstring

SELECT examples​

Lists the AWS resources that AWS Fault Injection Service (AWS FIS) resolved as targets for a test run.

SELECT
resource_type,
target_information,
target_name
FROM aws.resiliencehubv2.resolved_test_run_target_resources
WHERE test_run_id = '{{ test_run_id }}' -- required
AND serviceArn = '{{ serviceArn }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;