interface CfnTestCaseProps
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_apptest.CfnTestCaseProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapptest#CfnTestCaseProps |
Java | software.amazon.awscdk.services.apptest.CfnTestCaseProps |
Python | aws_cdk.aws_apptest.CfnTestCaseProps |
TypeScript | aws-cdk-lib » aws_apptest » CfnTestCaseProps |
Properties for defining a CfnTestCase
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apptest as apptest } from 'aws-cdk-lib';
const cfnTestCaseProps: apptest.CfnTestCaseProps = {
name: 'name',
steps: [{
action: {
compareAction: {
input: {
file: {
fileMetadata: {
databaseCdc: {
sourceMetadata: {
captureTool: 'captureTool',
type: 'type',
},
targetMetadata: {
captureTool: 'captureTool',
type: 'type',
},
},
dataSets: [{
ccsid: 'ccsid',
format: 'format',
length: 123,
name: 'name',
type: 'type',
}],
},
sourceLocation: 'sourceLocation',
targetLocation: 'targetLocation',
},
},
// the properties below are optional
output: {
file: {
fileLocation: 'fileLocation',
},
},
},
mainframeAction: {
actionType: {
batch: {
batchJobName: 'batchJobName',
// the properties below are optional
batchJobParameters: {
batchJobParametersKey: 'batchJobParameters',
},
exportDataSetNames: ['exportDataSetNames'],
},
tn3270: {
script: {
scriptLocation: 'scriptLocation',
type: 'type',
},
// the properties below are optional
exportDataSetNames: ['exportDataSetNames'],
},
},
resource: 'resource',
// the properties below are optional
properties: {
dmsTaskArn: 'dmsTaskArn',
},
},
resourceAction: {
cloudFormationAction: {
resource: 'resource',
// the properties below are optional
actionType: 'actionType',
},
m2ManagedApplicationAction: {
actionType: 'actionType',
resource: 'resource',
// the properties below are optional
properties: {
forceStop: false,
importDataSetLocation: 'importDataSetLocation',
},
},
m2NonManagedApplicationAction: {
actionType: 'actionType',
resource: 'resource',
},
},
},
name: 'name',
// the properties below are optional
description: 'description',
}],
// the properties below are optional
description: 'description',
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the test case. |
steps | IResolvable | IResolvable | Step [] | The steps in the test case. |
description? | string | The description of the test case. |
tags? | { [string]: string } | The specified tags of the test case. |
name
Type:
string
The name of the test case.
steps
Type:
IResolvable
|
IResolvable
|
Step
[]
The steps in the test case.
description?
Type:
string
(optional)
The description of the test case.
tags?
Type:
{ [string]: string }
(optional)
The specified tags of the test case.