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

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

    Using getTestCase

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTestCase(args: GetTestCaseArgs, opts?: InvokeOptions): Promise<GetTestCaseResult>
    function getTestCaseOutput(args: GetTestCaseOutputArgs, opts?: InvokeOptions): Output<GetTestCaseResult>
    def get_test_case(test_case_arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetTestCaseResult
    def get_test_case_output(test_case_arn: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetTestCaseResult]
    func LookupTestCase(ctx *Context, args *LookupTestCaseArgs, opts ...InvokeOption) (*LookupTestCaseResult, error)
    func LookupTestCaseOutput(ctx *Context, args *LookupTestCaseOutputArgs, opts ...InvokeOption) LookupTestCaseResultOutput

    > Note: This function is named LookupTestCase in the Go SDK.

    public static class GetTestCase 
    {
        public static Task<GetTestCaseResult> InvokeAsync(GetTestCaseArgs args, InvokeOptions? opts = null)
        public static Output<GetTestCaseResult> Invoke(GetTestCaseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTestCaseResult> getTestCase(GetTestCaseArgs args, InvokeOptions options)
    public static Output<GetTestCaseResult> getTestCase(GetTestCaseArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:connect:getTestCase
      arguments:
        # arguments dictionary
    data "aws-native_connect_get_test_case" "name" {
        # arguments
    }

    The following arguments are supported:

    TestCaseArn string
    The identifier of the test case.
    TestCaseArn string
    The identifier of the test case.
    test_case_arn string
    The identifier of the test case.
    testCaseArn String
    The identifier of the test case.
    testCaseArn string
    The identifier of the test case.
    test_case_arn str
    The identifier of the test case.
    testCaseArn String
    The identifier of the test case.

    getTestCase Result

    The following output properties are available:

    Content string
    The content of the test case.
    Description string
    The description of the test case.
    EntryPoint Pulumi.AwsNative.Connect.Outputs.TestCaseEntryPoint
    Entry point for Testcase.
    InitializationData string
    The initialization data of the test case.
    InstanceArn string
    The identifier of the Amazon Connect instance.
    LastModifiedRegion string
    Last modified region.
    LastModifiedTime double
    Last modified time.
    Name string
    The name of the test case.
    Status Pulumi.AwsNative.Connect.TestCaseStatus
    The status of the test case.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    One or more tags.
    TestCaseArn string
    The identifier of the test case.
    Content string
    The content of the test case.
    Description string
    The description of the test case.
    EntryPoint TestCaseEntryPoint
    Entry point for Testcase.
    InitializationData string
    The initialization data of the test case.
    InstanceArn string
    The identifier of the Amazon Connect instance.
    LastModifiedRegion string
    Last modified region.
    LastModifiedTime float64
    Last modified time.
    Name string
    The name of the test case.
    Status TestCaseStatus
    The status of the test case.
    Tags Tag
    One or more tags.
    TestCaseArn string
    The identifier of the test case.
    content string
    The content of the test case.
    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.
    instance_arn string
    The identifier of the Amazon Connect instance.
    last_modified_region string
    Last modified region.
    last_modified_time number
    Last modified time.
    name string
    The name of the test case.
    status "SAVED" | "PUBLISHED"
    The status of the test case.
    tags list(object)
    One or more tags.
    test_case_arn string
    The identifier of the test case.
    content String
    The content of the test case.
    description String
    The description of the test case.
    entryPoint TestCaseEntryPoint
    Entry point for Testcase.
    initializationData String
    The initialization data of the test case.
    instanceArn String
    The identifier of the Amazon Connect instance.
    lastModifiedRegion String
    Last modified region.
    lastModifiedTime Double
    Last modified time.
    name String
    The name of the test case.
    status TestCaseStatus
    The status of the test case.
    tags List<Tag>
    One or more tags.
    testCaseArn String
    The identifier of the test case.
    content string
    The content of the test case.
    description string
    The description of the test case.
    entryPoint TestCaseEntryPoint
    Entry point for Testcase.
    initializationData string
    The initialization data of the test case.
    instanceArn string
    The identifier of the Amazon Connect instance.
    lastModifiedRegion string
    Last modified region.
    lastModifiedTime number
    Last modified time.
    name string
    The name of the test case.
    status TestCaseStatus
    The status of the test case.
    tags Tag[]
    One or more tags.
    testCaseArn string
    The identifier of the test case.
    content str
    The content of the test case.
    description str
    The description of the test case.
    entry_point TestCaseEntryPoint
    Entry point for Testcase.
    initialization_data str
    The initialization data of the test case.
    instance_arn str
    The identifier of the Amazon Connect instance.
    last_modified_region str
    Last modified region.
    last_modified_time float
    Last modified time.
    name str
    The name of the test case.
    status TestCaseStatus
    The status of the test case.
    tags Sequence[root_Tag]
    One or more tags.
    test_case_arn str
    The identifier of the test case.
    content String
    The content of the test case.
    description String
    The description of the test case.
    entryPoint Property Map
    Entry point for Testcase.
    initializationData String
    The initialization data of the test case.
    instanceArn String
    The identifier of the Amazon Connect instance.
    lastModifiedRegion String
    Last modified region.
    lastModifiedTime Number
    Last modified time.
    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.
    testCaseArn String
    The identifier of the test case.

    Supporting Types

    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 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

    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

    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

    TestCaseEntryPointVoiceCallEntryPointParametersProperties

    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

    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