AWS::AppTest::TestCase
Creates a test case for an application.
For more information about test cases, see Test cases and Application Testing concepts in the AWS Mainframe Modernization User Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::AppTest::TestCase", "Properties" : { "Description" :
String
, "Name" :String
, "Steps" :[ Step, ... ]
, "Tags" :{
} }Key
:Value
, ...}
YAML
Type: AWS::AppTest::TestCase Properties: Description:
String
Name:String
Steps:- Step
Tags:
Key
:Value
Properties
Description
-
The description of the test case.
Required: No
Type: String
Minimum:
0
Maximum:
1000
Update requires: No interruption
Name
-
The name of the test case.
Required: Yes
Type: String
Pattern:
^[A-Za-z][A-Za-z0-9_\-]{1,59}$
Update requires: Replacement
Steps
-
The steps in the test case.
Required: Yes
Type: Array of Step
Minimum:
1
Maximum:
20
Update requires: No interruption
-
The specified tags of the test case.
Required: No
Type: Object of String
Pattern:
^(?!aws:).+$
Minimum:
0
Maximum:
256
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the test case Amazon Resource Name (ARN), such as the
following:
{ "Ref": "SampleTestCase" }
Returns a value similar to the following:
arn:aws:apptest:us-east-1:123456789012:testcase/y3ca6bhaife2bcvxar3lpivfou
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
CreationTime
-
The creation time of the test case.
LastUpdateTime
-
The last update time of the test case.
Status
-
The status of the test case.
TestCaseArn
-
The Amazon Resource Name (ARN) of the test case.
TestCaseId
-
The response test case ID of the test case.
TestCaseVersion
-
The version of the test case.