CfnTestCaseProps

class aws_cdk.aws_connect.CfnTestCaseProps(*, content, instance_arn, name, description=None, entry_point=None, initialization_data=None, status=None, tags=None)

Bases: object

Properties for defining a CfnTestCase.

Parameters:
  • content (str) – The content of the test case.

  • instance_arn (str) – The identifier of the Amazon Connect instance.

  • name (str) – The name of the test case.

  • description (Optional[str]) – The description of the test case.

  • entry_point (Union[IResolvable, EntryPointProperty, Dict[str, Any], None]) – The Entry Point associated with the test case.

  • initialization_data (Optional[str]) – The initialization data of the test case.

  • status (Optional[str]) – The status of the test case.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – One or more tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

cfn_test_case_props = connect.CfnTestCaseProps(
    content="content",
    instance_arn="instanceArn",
    name="name",

    # the properties below are optional
    description="description",
    entry_point=connect.CfnTestCase.EntryPointProperty(
        chat_entry_point_parameters=connect.CfnTestCase.ChatEntryPointParametersProperty(
            flow_id="flowId"
        ),
        type="type",
        voice_call_entry_point_parameters=connect.CfnTestCase.VoiceCallEntryPointParametersProperty(
            destination_phone_number="destinationPhoneNumber",
            flow_id="flowId",
            source_phone_number="sourcePhoneNumber"
        )
    ),
    initialization_data="initializationData",
    status="status",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

content

The content of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-content

description

The description of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-description

entry_point

The Entry Point associated with the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-entrypoint

initialization_data

The initialization data of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-initializationdata

instance_arn

The identifier of the Amazon Connect instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-instancearn

name

The name of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-name

status

The status of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-status

tags

One or more tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-testcase.html#cfn-connect-testcase-tags