View a markdown version of this page

Test - Next generation Resilience Hub

Test

Represents a test created for a service by configuring a test template.

Contents

creationTime

The timestamp when the test was created.

Type: Timestamp

Required: Yes

name

The name of the test.

Type: String

Required: Yes

serviceArn

The ARN of the service the test belongs to.

Type: String

Length Constraints: Minimum length of 31.

Pattern: arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+.-]{0,1023}

Required: Yes

successfulTestRuns

The number of successful runs of the test.

Type: Integer

Required: Yes

testId

The unique identifier of the test.

Type: String

Required: Yes

testTemplateArn

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

Type: String

Length Constraints: Minimum length of 31.

Pattern: arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):([0-9]{12}|aws):[A-Za-z0-9/][A-Za-z0-9:_/+.-]{0,1023}

Required: Yes

totalTestRuns

The total number of runs of the test.

Type: Integer

Required: Yes

actions

The fault actions the test runs.

Type: Array of TestAction objects

Required: No

loggingConfiguration

The logging configuration for the test.

Type: LoggingConfiguration object

Required: No

parameters

The parameter values configured for the test.

Type: String to array of strings map

Map Entries: Minimum number of 0 items. Maximum number of 20 items.

Key Length Constraints: Minimum length of 1. Maximum length of 256.

Key Pattern: [\w.-]+

Array Members: Minimum number of 0 items. Maximum number of 10 items.

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

roleName

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

Type: String

Length Constraints: Minimum length of 2. Maximum length of 60.

Pattern: [A-Za-z0-9][A-Za-z0-9_\-]{1,59}

Required: No

stopConditions

The stop conditions for the test.

Type: Array of StopCondition objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: