Skip to main content

experiments

Creates, updates, deletes, gets or lists an experiments resource.

Overview​

Nameexperiments
TypeResource
Idaws.fis.experiments

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the experiment. (pattern: <code>[\S]+</code>)
actionsobjectThe actions for the experiment.
arnstringThe Amazon Resource Name (ARN) of the experiment. (pattern: <code>[\S]+</code>)
creation_timestring (date-time)The time that the experiment was created.
end_timestring (date-time)The time that the experiment ended.
experiment_optionsobjectThe experiment options for the experiment.
experiment_reportobjectThe experiment report for the experiment.
experiment_report_configurationobjectThe experiment report configuration for the experiment.
experiment_template_idstringThe ID of the experiment template. (pattern: <code>[\S]+</code>)
log_configurationobjectThe configuration for experiment logging.
role_arnstringThe Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf. (pattern: <code>[\S]+</code>)
start_timestring (date-time)The time that the experiment started.
stateobjectThe state of the experiment.
stop_conditionsarrayThe stop conditions for the experiment.
tagsobjectThe tags for the experiment.
target_account_configurations_countinteger (int64)The count of target account configurations for the experiment.
targetsobjectThe targets for the experiment.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_experimentselectid, regionGets information about the specified experiment.
list_experimentsselectregionmaxResults, nextToken, experimentTemplateIdLists your experiments.

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
idstringThe ID of the experiment.
regionstringAWS region (default: us-east-1)
experimentTemplateIdstringThe ID of the experiment template.
maxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
nextTokenstringThe token for the next page of results.

SELECT examples​

Gets information about the specified experiment.

SELECT
id,
actions,
arn,
creation_time,
end_time,
experiment_options,
experiment_report,
experiment_report_configuration,
experiment_template_id,
log_configuration,
role_arn,
start_time,
state,
stop_conditions,
tags,
target_account_configurations_count,
targets
FROM aws.fis.experiments
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;