1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. connect
  6. TestCase

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.74.1
published on Monday, Aug 3, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.74.1
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.
    InstanceArn string
    The identifier of the Amazon Connect instance.
    Description string
    The description of the test case.
    EntryPoint Pulumi.AwsNative.Connect.Inputs.TestCaseEntryPoint
    Entry point for Testcase.
    InitializationData string
    The initialization data of the test case.
    Name string
    The name of the test case.
    Status Pulumi.AwsNative.Connect.TestCaseStatus
    The status of the test case.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    One or more tags.
    Content string
    The content of the test case.
    InstanceArn string
    The identifier of the Amazon Connect instance.
    Description string
    The description of the test case.
    EntryPoint TestCaseEntryPointArgs
    Entry point for Testcase.
    InitializationData string
    The initialization data of the test case.
    Name string
    The name of the test case.
    Status TestCaseStatus
    The status of the test case.
    Tags TagArgs
    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.
    tags list(object)
    One or more tags.
    content String
    The content of the test case.
    instanceArn String
    The identifier of the Amazon Connect instance.
    description String
    The description of the test case.
    entryPoint TestCaseEntryPoint
    Entry point for Testcase.
    initializationData String
    The initialization data of the test case.
    name String
    The name of the test case.
    status TestCaseStatus
    The status of the test case.
    tags List<Tag>
    One or more tags.
    content string
    The content of the test case.
    instanceArn string
    The identifier of the Amazon Connect instance.
    description string
    The description of the test case.
    entryPoint TestCaseEntryPoint
    Entry point for Testcase.
    initializationData string
    The initialization data of the test case.
    name string
    The name of the test case.
    status TestCaseStatus
    The status of the test case.
    tags 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 TestCaseEntryPointArgs
    Entry point for Testcase.
    initialization_data str
    The initialization data of the test case.
    name str
    The name of the test case.
    status TestCaseStatus
    The status of the test case.
    tags Sequence[TagArgs]
    One or more tags.
    content String
    The content of the test case.
    instanceArn String
    The identifier of the Amazon Connect instance.
    description String
    The description of the test case.
    entryPoint Property Map
    Entry point for Testcase.
    initializationData 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.
    tags 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.
    LastModifiedRegion string
    Last modified region.
    LastModifiedTime double
    Last modified time.
    TestCaseArn string
    The identifier of the test case.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedRegion string
    Last modified region.
    LastModifiedTime float64
    Last modified time.
    TestCaseArn string
    The identifier of the test case.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modified_region string
    Last modified region.
    last_modified_time number
    Last modified time.
    test_case_arn string
    The identifier of the test case.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedRegion String
    Last modified region.
    lastModifiedTime Double
    Last modified time.
    testCaseArn String
    The identifier of the test case.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedRegion string
    Last modified region.
    lastModifiedTime number
    Last modified time.
    testCaseArn string
    The identifier of the test case.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_region str
    Last modified region.
    last_modified_time float
    Last modified time.
    test_case_arn str
    The identifier of the test case.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedRegion String
    Last modified region.
    lastModifiedTime Number
    Last modified time.
    testCaseArn String
    The identifier of the test case.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TestCaseEntryPoint, TestCaseEntryPointArgs

    The Entry Point associated with the test case
    ChatEntryPointParameters TestCaseEntryPointChatEntryPointParametersProperties
    The chat entry point parameters for the test case
    Type TestCaseEntryPointType
    The type of the Entry Point
    VoiceCallEntryPointParameters TestCaseEntryPointVoiceCallEntryPointParametersProperties
    The voice call entry point parameters for the test case
    chat_entry_point_parameters object
    The chat entry point parameters for the test case
    type "VOICE_CALL" | "CHAT"
    The type of the Entry Point
    voice_call_entry_point_parameters object
    The voice call entry point parameters for the test case
    chatEntryPointParameters TestCaseEntryPointChatEntryPointParametersProperties
    The chat entry point parameters for the test case
    type TestCaseEntryPointType
    The type of the Entry Point
    voiceCallEntryPointParameters TestCaseEntryPointVoiceCallEntryPointParametersProperties
    The voice call entry point parameters for the test case
    chatEntryPointParameters TestCaseEntryPointChatEntryPointParametersProperties
    The chat entry point parameters for the test case
    type TestCaseEntryPointType
    The type of the Entry Point
    voiceCallEntryPointParameters TestCaseEntryPointVoiceCallEntryPointParametersProperties
    The voice call entry point parameters for the test case
    chat_entry_point_parameters TestCaseEntryPointChatEntryPointParametersProperties
    The chat entry point parameters for the test case
    type TestCaseEntryPointType
    The type of the Entry Point
    voice_call_entry_point_parameters TestCaseEntryPointVoiceCallEntryPointParametersProperties
    The voice call entry point parameters for the test case
    chatEntryPointParameters Property Map
    The chat entry point parameters for the test case
    type "VOICE_CALL" | "CHAT"
    The type of the Entry Point
    voiceCallEntryPointParameters Property Map
    The voice call entry point parameters for the test case

    TestCaseEntryPointChatEntryPointParametersProperties, TestCaseEntryPointChatEntryPointParametersPropertiesArgs

    The chat entry point parameters for the test case
    FlowId string
    The flow id used for the TestCase
    FlowId string
    The flow id used for the TestCase
    flow_id string
    The flow id used for the TestCase
    flowId String
    The flow id used for the TestCase
    flowId string
    The flow id used for the TestCase
    flow_id str
    The flow id used for the TestCase
    flowId String
    The flow id used for the TestCase

    TestCaseEntryPointType, TestCaseEntryPointTypeArgs

    VoiceCall
    VOICE_CALL
    Chat
    CHAT
    TestCaseEntryPointTypeVoiceCall
    VOICE_CALL
    TestCaseEntryPointTypeChat
    CHAT
    "VOICE_CALL"
    VOICE_CALL
    "CHAT"
    CHAT
    VoiceCall
    VOICE_CALL
    Chat
    CHAT
    VoiceCall
    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
    DestinationPhoneNumber string
    The destination phonenumber of the EntryPoint
    FlowId string
    The flow id used for the TestCase
    SourcePhoneNumber string
    The source phonenumber of the EntryPoint
    DestinationPhoneNumber string
    The destination phonenumber of the EntryPoint
    FlowId string
    The flow id used for the TestCase
    SourcePhoneNumber string
    The source phonenumber of the EntryPoint
    destination_phone_number string
    The destination phonenumber of the EntryPoint
    flow_id string
    The flow id used for the TestCase
    source_phone_number string
    The source phonenumber of the EntryPoint
    destinationPhoneNumber String
    The destination phonenumber of the EntryPoint
    flowId String
    The flow id used for the TestCase
    sourcePhoneNumber String
    The source phonenumber of the EntryPoint
    destinationPhoneNumber string
    The destination phonenumber of the EntryPoint
    flowId string
    The flow id used for the TestCase
    sourcePhoneNumber string
    The source phonenumber of the EntryPoint
    destination_phone_number str
    The destination phonenumber of the EntryPoint
    flow_id str
    The flow id used for the TestCase
    source_phone_number str
    The source phonenumber of the EntryPoint
    destinationPhoneNumber String
    The destination phonenumber of the EntryPoint
    flowId String
    The flow id used for the TestCase
    sourcePhoneNumber String
    The source phonenumber of the EntryPoint

    TestCaseStatus, TestCaseStatusArgs

    Saved
    SAVED
    Published
    PUBLISHED
    TestCaseStatusSaved
    SAVED
    TestCaseStatusPublished
    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
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.74.1
    published on Monday, Aug 3, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial