TestRun
¶
Source code in docs_src/capo_resiliencehubv2/types/test_run.py
account_targeting
instance-attribute
¶
account_targeting: NotRequired[AccountTargeting]
Indicates whether the test run targets resources in a single AWS account or across multiple accounts.
dev_ops_agent_investigation
instance-attribute
¶
dev_ops_agent_investigation: NotRequired[DevOpsAgentInvestigation]
The DevOps Agent investigation result for the test run, present when the integration is enabled for the service.
ended_at
instance-attribute
¶
ended_at: NotRequired[datetime]
The timestamp when the test run ended.
error_message
instance-attribute
¶
error_message: NotRequired[str]
A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.
event_count
instance-attribute
¶
event_count: NotRequired[int]
The number of events recorded for the test run. Use ListTestRunEvents to retrieve the details.
experiments
instance-attribute
¶
experiments: NotRequired[ExperimentDetailsList]
The AWS Fault Injection Service (AWS FIS) experiments run as part of the test run.
logging_configuration
instance-attribute
¶
logging_configuration: NotRequired[LoggingConfiguration]
The logging configuration snapshotted from the test when the run was started.
parameters
instance-attribute
¶
parameters: NotRequired[TestParameters]
The parameter values used for the test run.
permission_model
instance-attribute
¶
permission_model: NotRequired[PermissionModel]
The permission model snapshotted from the service when the run was started.
policy
instance-attribute
¶
policy: NotRequired[TestRunPolicySnapshot]
The resilience policy snapshotted from the service when the run was started.
region_switch_execution_id
instance-attribute
¶
region_switch_execution_id: NotRequired[RegionSwitchExecutionId]
The identifier of the ARC Region switch execution detected during the test run.
region_switch_plan_arn
instance-attribute
¶
region_switch_plan_arn: NotRequired[Arn]
The ARN of the ARC Region switch plan associated with the test run.
regions
instance-attribute
¶
regions: NotRequired[RegionList]
The Regions snapshotted from the service when the run was started.
report_configuration
instance-attribute
¶
report_configuration: NotRequired[TestRunReportConfiguration]
The report configuration snapshotted from the service when the run was started.
report_output
instance-attribute
¶
report_output: NotRequired[ReportGenerationResult]
The report generation result for the test run. Present after report generation completes or fails.
role_name
instance-attribute
¶
role_name: NotRequired[IamRoleName]
The IAM execution role name snapshotted from the test when the run was started.
service_arn
instance-attribute
¶
service_arn: NotRequired[Arn]
The ARN of the service the test run belongs to.
stop_conditions
instance-attribute
¶
stop_conditions: NotRequired[StopConditionList]
The stop conditions snapshotted from the test when the run was started.
test_template_arn
instance-attribute
¶
test_template_arn: ServiceOwnedArn
The ARN of the test template snapshotted from the test when the run was started.