Skip to content

aws.fis.get_experiment

Example SQL Queries

SELECT * FROM
aws.fis.get_experiment
WHERE
"id" = 'VALUE';

Description

Gets information about the specified experiment.

Table Definition

Column NameColumn Data Type
id Required Input Column

The ID of the experiment.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

experiment

Information about the experiment.

STRUCT(
"id" VARCHAR,
"arn" VARCHAR,
"experiment_template_id" VARCHAR,
"role_arn" VARCHAR,
"state" STRUCT(
"status" VARCHAR,
"reason" VARCHAR,
"error" STRUCT(
"account_id" VARCHAR,
"code" VARCHAR,
"location" VARCHAR
)
),
"targets" MAP(VARCHAR, STRUCT(
"resource_type" VARCHAR,
"resource_arns" VARCHAR[],
"resource_tags" MAP(VARCHAR, VARCHAR),
"filters" STRUCT(
"path" VARCHAR,
"values" VARCHAR[]
)[],
"selection_mode" VARCHAR,
"parameters" MAP(VARCHAR, VARCHAR)
)),
"actions" MAP(VARCHAR, STRUCT(
"action_id" VARCHAR,
"description" VARCHAR,
"parameters" MAP(VARCHAR, VARCHAR),
"targets" MAP(VARCHAR, VARCHAR),
"start_after" VARCHAR[],
"state" STRUCT(
"status" VARCHAR,
"reason" VARCHAR
),
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S
)),
"stop_conditions" STRUCT(
"source" VARCHAR,
"value" VARCHAR
)[],
"creation_time" TIMESTAMP_S,
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S,
"tags" MAP(VARCHAR, VARCHAR),
"log_configuration" STRUCT(
"cloud_watch_logs_configuration" STRUCT(
"log_group_arn" VARCHAR
),
"s3_configuration" STRUCT(
"bucket_name" VARCHAR,
"prefix" VARCHAR
),
"log_schema_version" BIGINT
),
"experiment_options" STRUCT(
"account_targeting" VARCHAR,
"empty_target_resolution_mode" VARCHAR,
"actions_mode" VARCHAR
),
"target_account_configurations_count" BIGINT
)
Show child fields
experiment.actions

The actions for the experiment.

experiment.arn

The Amazon Resource Name (ARN) of the experiment.

experiment.creation_time

The time that the experiment was created.

experiment.end_time

The time that the experiment ended.

experiment.experiment_options

The experiment options for the experiment.

Show child fields
experiment.experiment_options.account_targeting

The account targeting setting for an experiment.

experiment.experiment_options.actions_mode

The actions mode of the experiment that is set from the StartExperiment API command.

experiment.experiment_options.empty_target_resolution_mode

The empty target resolution mode for an experiment.

experiment.experiment_template_id

The ID of the experiment template.

experiment.id

The ID of the experiment.

experiment.log_configuration

The configuration for experiment logging.

Show child fields
experiment.log_configuration.cloud_watch_logs_configuration

The configuration for experiment logging to Amazon CloudWatch Logs.

Show child fields
experiment.log_configuration.cloud_watch_logs_configuration.log_group_arn

The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.

experiment.log_configuration.log_schema_version

The schema version.

experiment.log_configuration.s3_configuration

The configuration for experiment logging to Amazon S3.

Show child fields
experiment.log_configuration.s3_configuration.bucket_name

The name of the destination bucket.

experiment.log_configuration.s3_configuration.prefix

The bucket prefix.

experiment.role_arn

The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.

experiment.start_time

The time that the experiment started.

experiment.state

The state of the experiment.

Show child fields
experiment.state.error

The error information of the experiment when the action has failed.

Show child fields
experiment.state.error.account_id

The Amazon Web Services Account ID where the experiment failure occurred.

experiment.state.error.code

The error code for the failed experiment.

experiment.state.error.location

Context for the section of the experiment template that failed.

experiment.state.reason

The reason for the state.

experiment.state.status

The state of the experiment.

experiment.stop_conditions[]
Show child fields
experiment.stop_conditions[].source

The source for the stop condition.

experiment.stop_conditions[].value

The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.

experiment.tags

The tags for the experiment.

experiment.target_account_configurations_count

The count of target account configurations for the experiment.

experiment.targets

The targets for the experiment.