View a markdown version of this page

AWS::Connect::TestCase - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Connect::TestCase

Creates a test case with its content and metadata for the specified Amazon Connect instance.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Connect::TestCase", "Properties" : { "Content" : String, "Description" : String, "EntryPoint" : EntryPoint, "InitializationData" : String, "InstanceArn" : String, "Name" : String, "Status" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::Connect::TestCase Properties: Content: String Description: String EntryPoint: EntryPoint InitializationData: String InstanceArn: String Name: String Status: String Tags: - Tag

Properties

Content

The JSON string that represents the content of the test.

Required: Yes

Type: String

Minimum: 1

Maximum: 256000

Update requires: No interruption

Description

The description of the test case.

Required: No

Type: String

Pattern: .*\S.*

Maximum: 500

Update requires: No interruption

EntryPoint

Defines the starting point for the test, including channel type and parameters.

Required: No

Type: EntryPoint

Update requires: No interruption

InitializationData

Defines the test attributes for precise data representation. The value must be a valid JSON string.

Required: No

Type: String

Minimum: 1

Maximum: 256000

Update requires: No interruption

InstanceArn

The Amazon Resource Name (ARN) of the instance.

Required: Yes

Type: String

Pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$

Minimum: 1

Maximum: 256

Update requires: No interruption

Name

The name of the test case.

Required: Yes

Type: String

Pattern: .*\S.*

Minimum: 1

Maximum: 127

Update requires: No interruption

Status

Indicates the test status as either SAVED or PUBLISHED.

Required: No

Type: String

Allowed values: SAVED | PUBLISHED

Update requires: No interruption

Tags

The tags used to organize, track, or control access for this resource.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

Return values

Ref

Fn::GetAtt

LastModifiedRegion

The region in which the test case was last modified.

LastModifiedTime

The time at which the test case was last modified.

TestCaseArn

The Amazon Resource Name (ARN) of the test case.