CfnTestCasePropsMixin
- class aws_cdk.cfn_property_mixins.aws_connect.CfnTestCasePropsMixin(props, *, strategy=None)
Bases:
MixinResource 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ChatEntryPointParametersProperty
- class CfnTestCasePropsMixin.ChatEntryPointParametersProperty(*, flow_id=None)
Bases:
objectThe chat entry point parameters for the test case.
- Parameters:
flow_id (
Optional[str]) – The flow id used for the TestCase.- See:
- 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.
EntryPointProperty
- class CfnTestCasePropsMixin.EntryPointProperty(*, chat_entry_point_parameters=None, type=None, voice_call_entry_point_parameters=None)
Bases:
objectThe Entry Point associated with the test case.
- Parameters:
chat_entry_point_parameters (
Union[IResolvable,ChatEntryPointParametersProperty,Dict[str,Any],None]) – The chat entry point parameters for the test case.type (
Optional[str]) – The type of the Entry Point.voice_call_entry_point_parameters (
Union[IResolvable,VoiceCallEntryPointParametersProperty,Dict[str,Any],None]) – The voice call entry point parameters for the test case.
- See:
- 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.
- type
The type of the Entry Point.
- voice_call_entry_point_parameters
The voice call entry point parameters for the test case.
VoiceCallEntryPointParametersProperty
- class CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty(*, destination_phone_number=None, flow_id=None, source_phone_number=None)
Bases:
objectThe 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:
- 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.
- flow_id
The flow id used for the TestCase.
- source_phone_number
The source phonenumber of the EntryPoint.