Skip to content

Test

Source code in docs_src/capo_resiliencehubv2/types/test.py
class Test(TypedDict, closed=True):
    test_id: "capo_resiliencehubv2.types.test_id.TestId"
    """<p>The unique identifier of the test.</p>"""
    test_template_arn: "capo_resiliencehubv2.types.service_owned_arn.ServiceOwnedArn"
    """<p>The ARN of the test template the test was created from.</p>"""
    service_arn: "capo_resiliencehubv2.types.arn.Arn"
    """<p>The ARN of the service the test belongs to.</p>"""
    name: "str"
    """<p>The name of the test.</p>"""
    actions: NotRequired["capo_resiliencehubv2.types.test_action_list.TestActionList"]
    """<p>The fault actions the test runs.</p>"""
    logging_configuration: NotRequired[
        "capo_resiliencehubv2.types.logging_configuration.LoggingConfiguration"
    ]
    """<p>The logging configuration for the test.</p>"""
    stop_conditions: NotRequired[
        "capo_resiliencehubv2.types.stop_condition_list.StopConditionList"
    ]
    """<p>The stop conditions for the test.</p>"""
    role_name: NotRequired["capo_resiliencehubv2.types.iam_role_name.IamRoleName"]
    """<p>The name of the IAM execution role used to run the test.</p>"""
    parameters: NotRequired["capo_resiliencehubv2.types.test_parameters.TestParameters"]
    """<p>The parameter values configured for the test.</p>"""
    total_test_runs: "int"
    """<p>The total number of runs of the test.</p>"""
    successful_test_runs: "int"
    """<p>The number of successful runs of the test.</p>"""
    creation_time: "datetime.datetime"
    """<p>The timestamp when the test was created.</p>"""

actions instance-attribute

actions: NotRequired[TestActionList]

The fault actions the test runs.

creation_time instance-attribute

creation_time: datetime

The timestamp when the test was created.

logging_configuration instance-attribute

logging_configuration: NotRequired[LoggingConfiguration]

The logging configuration for the test.

name instance-attribute

name: str

The name of the test.

parameters instance-attribute

parameters: NotRequired[TestParameters]

The parameter values configured for the test.

role_name instance-attribute

role_name: NotRequired[IamRoleName]

The name of the IAM execution role used to run the test.

service_arn instance-attribute

service_arn: Arn

The ARN of the service the test belongs to.

stop_conditions instance-attribute

stop_conditions: NotRequired[StopConditionList]

The stop conditions for the test.

successful_test_runs instance-attribute

successful_test_runs: int

The number of successful runs of the test.

test_id instance-attribute

test_id: TestId

The unique identifier of the test.

test_template_arn instance-attribute

test_template_arn: ServiceOwnedArn

The ARN of the test template the test was created from.

total_test_runs instance-attribute

total_test_runs: int

The total number of runs of the test.