Skip to content
v2.275.0

CfnTestCaseProps Struct ​

Properties for defining a CfnTestCase.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnTestCaseProps: connect.CfnTestCaseProps = {
  content: 'content',
  instanceArn: 'instanceArn',
  name: 'name',

  // the properties below are optional
  description: 'description',
  entryPoint: {
    chatEntryPointParameters: {
      flowId: 'flowId',
    },
    type: 'type',
    voiceCallEntryPointParameters: {
      destinationPhoneNumber: 'destinationPhoneNumber',
      flowId: 'flowId',
      sourcePhoneNumber: 'sourcePhoneNumber',
    },
  },
  initializationData: 'initializationData',
  status: 'status',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

contentstringcontentstrcontentStringContentstringContent*stringrequired#
The content of the test case.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the test case.
entryPointoptionalIResolvable | CfnTestCase.EntryPointPropertyentry_pointoptionaltyping.Union[IResolvable, EntryPointProperty]entryPointoptionalIResolvableEntryPointoptionalIResolvableEntryPointoptionalinterface{}#
The Entry Point associated with the test case.
initializationDataoptionalstringinitialization_dataoptionalstrinitializationDataoptionalStringInitializationDataoptionalstringInitializationDataoptional*string#
The initialization data of the test case.
instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*stringrequired#
The identifier of the Amazon Connect instance.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the test case.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string#
The status of the test case.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
One or more tags.