We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
Resource Type definition for AWS::Connect::TestCase
Create TestCase Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TestCase(name: string, args: TestCaseArgs, opts?: CustomResourceOptions);@overload
def TestCase(resource_name: str,
args: TestCaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TestCase(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
instance_arn: Optional[str] = None,
description: Optional[str] = None,
entry_point: Optional[TestCaseEntryPointArgs] = None,
initialization_data: Optional[str] = None,
name: Optional[str] = None,
status: Optional[TestCaseStatus] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewTestCase(ctx *Context, name string, args TestCaseArgs, opts ...ResourceOption) (*TestCase, error)public TestCase(string name, TestCaseArgs args, CustomResourceOptions? opts = null)
public TestCase(String name, TestCaseArgs args)
public TestCase(String name, TestCaseArgs args, CustomResourceOptions options)
type: aws-native:connect:TestCase
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_connect_test_case" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TestCaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TestCaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TestCaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TestCaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TestCaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TestCase Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TestCase resource accepts the following input properties:
- Content string
- The content of the test case.
- Instance
Arn string - The identifier of the Amazon Connect instance.
- Description string
- The description of the test case.
- Entry
Point Pulumi.Aws Native. Connect. Inputs. Test Case Entry Point - Entry point for Testcase.
- Initialization
Data string - The initialization data of the test case.
- Name string
- The name of the test case.
- Status
Pulumi.
Aws Native. Connect. Test Case Status - The status of the test case.
-
List<Pulumi.
Aws Native. Inputs. Tag> - One or more tags.
- Content string
- The content of the test case.
- Instance
Arn string - The identifier of the Amazon Connect instance.
- Description string
- The description of the test case.
- Entry
Point TestCase Entry Point Args - Entry point for Testcase.
- Initialization
Data string - The initialization data of the test case.
- Name string
- The name of the test case.
- Status
Test
Case Status - The status of the test case.
-
Tag
Args - One or more tags.
- content string
- The content of the test case.
- instance_
arn string - The identifier of the Amazon Connect instance.
- description string
- The description of the test case.
- entry_
point object - Entry point for Testcase.
- initialization_
data string - The initialization data of the test case.
- name string
- The name of the test case.
- status "SAVED" | "PUBLISHED"
- The status of the test case.
- list(object)
- One or more tags.
- content String
- The content of the test case.
- instance
Arn String - The identifier of the Amazon Connect instance.
- description String
- The description of the test case.
- entry
Point TestCase Entry Point - Entry point for Testcase.
- initialization
Data String - The initialization data of the test case.
- name String
- The name of the test case.
- status
Test
Case Status - The status of the test case.
- List<Tag>
- One or more tags.
- content string
- The content of the test case.
- instance
Arn string - The identifier of the Amazon Connect instance.
- description string
- The description of the test case.
- entry
Point TestCase Entry Point - Entry point for Testcase.
- initialization
Data string - The initialization data of the test case.
- name string
- The name of the test case.
- status
Test
Case Status - The status of the test case.
- Tag[]
- One or more tags.
- content str
- The content of the test case.
- instance_
arn str - The identifier of the Amazon Connect instance.
- description str
- The description of the test case.
- entry_
point TestCase Entry Point Args - Entry point for Testcase.
- initialization_
data str - The initialization data of the test case.
- name str
- The name of the test case.
- status
Test
Case Status - The status of the test case.
-
Sequence[Tag
Args] - One or more tags.
- content String
- The content of the test case.
- instance
Arn String - The identifier of the Amazon Connect instance.
- description String
- The description of the test case.
- entry
Point Property Map - Entry point for Testcase.
- initialization
Data String - The initialization data of the test case.
- name String
- The name of the test case.
- status "SAVED" | "PUBLISHED"
- The status of the test case.
- List<Property Map>
- One or more tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the TestCase resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringRegion - Last modified region.
- Last
Modified doubleTime - Last modified time.
- Test
Case stringArn - The identifier of the test case.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringRegion - Last modified region.
- Last
Modified float64Time - Last modified time.
- Test
Case stringArn - The identifier of the test case.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
modified_ stringregion - Last modified region.
- last_
modified_ numbertime - Last modified time.
- test_
case_ stringarn - The identifier of the test case.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringRegion - Last modified region.
- last
Modified DoubleTime - Last modified time.
- test
Case StringArn - The identifier of the test case.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringRegion - Last modified region.
- last
Modified numberTime - Last modified time.
- test
Case stringArn - The identifier of the test case.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strregion - Last modified region.
- last_
modified_ floattime - Last modified time.
- test_
case_ strarn - The identifier of the test case.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringRegion - Last modified region.
- last
Modified NumberTime - Last modified time.
- test
Case StringArn - The identifier of the test case.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.TestCaseEntryPoint, TestCaseEntryPointArgs
The Entry Point associated with the test case- Chat
Entry Pulumi.Point Parameters Aws Native. Connect. Inputs. Test Case Entry Point Chat Entry Point Parameters Properties - The chat entry point parameters for the test case
- Type
Pulumi.
Aws Native. Connect. Test Case Entry Point Type - The type of the Entry Point
- Voice
Call Pulumi.Entry Point Parameters Aws Native. Connect. Inputs. Test Case Entry Point Voice Call Entry Point Parameters Properties - The voice call entry point parameters for the test case
- Chat
Entry TestPoint Parameters Case Entry Point Chat Entry Point Parameters Properties - The chat entry point parameters for the test case
- Type
Test
Case Entry Point Type - The type of the Entry Point
- Voice
Call TestEntry Point Parameters Case Entry Point Voice Call Entry Point Parameters Properties - The voice call entry point parameters for the test case
- chat_
entry_ objectpoint_ parameters - The chat entry point parameters for the test case
- type "VOICE_CALL" | "CHAT"
- The type of the Entry Point
- voice_
call_ objectentry_ point_ parameters - The voice call entry point parameters for the test case
- chat
Entry TestPoint Parameters Case Entry Point Chat Entry Point Parameters Properties - The chat entry point parameters for the test case
- type
Test
Case Entry Point Type - The type of the Entry Point
- voice
Call TestEntry Point Parameters Case Entry Point Voice Call Entry Point Parameters Properties - The voice call entry point parameters for the test case
- chat
Entry TestPoint Parameters Case Entry Point Chat Entry Point Parameters Properties - The chat entry point parameters for the test case
- type
Test
Case Entry Point Type - The type of the Entry Point
- voice
Call TestEntry Point Parameters Case Entry Point Voice Call Entry Point Parameters Properties - The voice call entry point parameters for the test case
- chat_
entry_ Testpoint_ parameters Case Entry Point Chat Entry Point Parameters Properties - The chat entry point parameters for the test case
- type
Test
Case Entry Point Type - The type of the Entry Point
- voice_
call_ Testentry_ point_ parameters Case Entry Point Voice Call Entry Point Parameters Properties - The voice call entry point parameters for the test case
- chat
Entry Property MapPoint Parameters - The chat entry point parameters for the test case
- type "VOICE_CALL" | "CHAT"
- The type of the Entry Point
- voice
Call Property MapEntry Point Parameters - The voice call entry point parameters for the test case
TestCaseEntryPointChatEntryPointParametersProperties, TestCaseEntryPointChatEntryPointParametersPropertiesArgs
The chat entry point parameters for the test case- Flow
Id string - The flow id used for the TestCase
- Flow
Id string - The flow id used for the TestCase
- flow_
id string - The flow id used for the TestCase
- flow
Id String - The flow id used for the TestCase
- flow
Id string - The flow id used for the TestCase
- flow_
id str - The flow id used for the TestCase
- flow
Id String - The flow id used for the TestCase
TestCaseEntryPointType, TestCaseEntryPointTypeArgs
- Voice
Call VOICE_CALL- Chat
CHAT
- Test
Case Entry Point Type Voice Call VOICE_CALL- Test
Case Entry Point Type Chat CHAT
- "VOICE_CALL"
VOICE_CALL- "CHAT"
CHAT
- Voice
Call VOICE_CALL- Chat
CHAT
- Voice
Call VOICE_CALL- Chat
CHAT
- VOICE_CALL
VOICE_CALL- CHAT
CHAT
- "VOICE_CALL"
VOICE_CALL- "CHAT"
CHAT
TestCaseEntryPointVoiceCallEntryPointParametersProperties, TestCaseEntryPointVoiceCallEntryPointParametersPropertiesArgs
The voice call entry point parameters for the test case- Destination
Phone stringNumber - The destination phonenumber of the EntryPoint
- Flow
Id string - The flow id used for the TestCase
- Source
Phone stringNumber - The source phonenumber of the EntryPoint
- Destination
Phone stringNumber - The destination phonenumber of the EntryPoint
- Flow
Id string - The flow id used for the TestCase
- Source
Phone stringNumber - The source phonenumber of the EntryPoint
- destination_
phone_ stringnumber - The destination phonenumber of the EntryPoint
- flow_
id string - The flow id used for the TestCase
- source_
phone_ stringnumber - The source phonenumber of the EntryPoint
- destination
Phone StringNumber - The destination phonenumber of the EntryPoint
- flow
Id String - The flow id used for the TestCase
- source
Phone StringNumber - The source phonenumber of the EntryPoint
- destination
Phone stringNumber - The destination phonenumber of the EntryPoint
- flow
Id string - The flow id used for the TestCase
- source
Phone stringNumber - The source phonenumber of the EntryPoint
- destination_
phone_ strnumber - The destination phonenumber of the EntryPoint
- flow_
id str - The flow id used for the TestCase
- source_
phone_ strnumber - The source phonenumber of the EntryPoint
- destination
Phone StringNumber - The destination phonenumber of the EntryPoint
- flow
Id String - The flow id used for the TestCase
- source
Phone StringNumber - The source phonenumber of the EntryPoint
TestCaseStatus, TestCaseStatusArgs
- Saved
SAVED- Published
PUBLISHED
- Test
Case Status Saved SAVED- Test
Case Status Published PUBLISHED
- "SAVED"
SAVED- "PUBLISHED"
PUBLISHED
- Saved
SAVED- Published
PUBLISHED
- Saved
SAVED- Published
PUBLISHED
- SAVED
SAVED- PUBLISHED
PUBLISHED
- "SAVED"
SAVED- "PUBLISHED"
PUBLISHED
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi