CfnTestCasePropsMixin

class aws_cdk.cfn_property_mixins.aws_connect.CfnTestCasePropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::Connect::TestCase.

See:

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

CloudformationResource:

AWS::Connect::TestCase

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

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

# merge_strategy: cdk.IMergeStrategy

cfn_test_case_props_mixin = connect.CfnTestCasePropsMixin(connect.CfnTestCaseMixinProps(
    content="content",
    description="description",
    entry_point=connect.CfnTestCasePropsMixin.EntryPointProperty(
        chat_entry_point_parameters=connect.CfnTestCasePropsMixin.ChatEntryPointParametersProperty(
            flow_id="flowId"
        ),
        type="type",
        voice_call_entry_point_parameters=connect.CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty(
            destination_phone_number="destinationPhoneNumber",
            flow_id="flowId",
            source_phone_number="sourcePhoneNumber"
        )
    ),
    initialization_data="initializationData",
    instance_arn="instanceArn",
    name="name",
    status="status",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Connect::TestCase.

Parameters:
  • props (Union[CfnTestCaseMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['content', 'description', 'entryPoint', 'initializationData', 'instanceArn', 'name', 'status', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ChatEntryPointParametersProperty

class CfnTestCasePropsMixin.ChatEntryPointParametersProperty(*, flow_id=None)

Bases: object

The chat entry point parameters for the test case.

Parameters:

flow_id (Optional[str]) – The flow id used for the TestCase.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

chat_entry_point_parameters_property = connect.CfnTestCasePropsMixin.ChatEntryPointParametersProperty(
    flow_id="flowId"
)

Attributes

flow_id

The flow id used for the TestCase.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-testcase-chatentrypointparameters.html#cfn-connect-testcase-chatentrypointparameters-flowid

EntryPointProperty

class CfnTestCasePropsMixin.EntryPointProperty(*, chat_entry_point_parameters=None, type=None, voice_call_entry_point_parameters=None)

Bases: object

The Entry Point associated with the test case.

Parameters:
See:

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

ExampleMetadata:

fixture=_generated

Example:

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

entry_point_property = connect.CfnTestCasePropsMixin.EntryPointProperty(
    chat_entry_point_parameters=connect.CfnTestCasePropsMixin.ChatEntryPointParametersProperty(
        flow_id="flowId"
    ),
    type="type",
    voice_call_entry_point_parameters=connect.CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty(
        destination_phone_number="destinationPhoneNumber",
        flow_id="flowId",
        source_phone_number="sourcePhoneNumber"
    )
)

Attributes

chat_entry_point_parameters

The chat entry point parameters for the test case.

See:

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

type

The type of the Entry Point.

See:

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

voice_call_entry_point_parameters

The voice call entry point parameters for the test case.

See:

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

VoiceCallEntryPointParametersProperty

class CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty(*, destination_phone_number=None, flow_id=None, source_phone_number=None)

Bases: object

The voice call entry point parameters for the test case.

Parameters:
  • destination_phone_number (Optional[str]) – The destination phonenumber of the EntryPoint.

  • flow_id (Optional[str]) – The flow id used for the TestCase.

  • source_phone_number (Optional[str]) – The source phonenumber of the EntryPoint.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

voice_call_entry_point_parameters_property = connect.CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty(
    destination_phone_number="destinationPhoneNumber",
    flow_id="flowId",
    source_phone_number="sourcePhoneNumber"
)

Attributes

destination_phone_number

The destination phonenumber of the EntryPoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-testcase-voicecallentrypointparameters.html#cfn-connect-testcase-voicecallentrypointparameters-destinationphonenumber

flow_id

The flow id used for the TestCase.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-testcase-voicecallentrypointparameters.html#cfn-connect-testcase-voicecallentrypointparameters-flowid

source_phone_number

The source phonenumber of the EntryPoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-testcase-voicecallentrypointparameters.html#cfn-connect-testcase-voicecallentrypointparameters-sourcephonenumber