AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AppTest::TestCase

CfnTestCase

Creates a test case for an application. For more information about test cases, see [Test cases](https://docs.aws.amazon.com/m2/latest/userguide/testing-test-cases.html) and [Application Testing concepts](https://docs.aws.amazon.com/m2/latest/userguide/concepts-apptest.html) in the *AWS Mainframe Modernization User Guide* .

Import

import { CfnTestCase } from 'aws-cdk-lib/aws-apptest';

Or use the module namespace:

import * as apptest from 'aws-cdk-lib/aws-apptest';
// apptest.CfnTestCase

Properties

Configuration passed to the constructor as CfnTestCaseProps.

nameRequired
string

The name of the test case.

stepsRequired
IResolvable | IResolvable | StepProperty[]

The steps in the test case.

descriptionOptional
string

The description of the test case.

tagsOptional
{ [key: string]: string }

The specified tags of the test case.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-apptest
CFN TypeAWS::AppTest::TestCase
Properties4

External Links