CfnInstancePropsMixin
- class aws_cdk.mixins_preview.aws_connect.mixins.CfnInstancePropsMixin(props, *, strategy=None)
Bases:
MixinThis is a preview release for Amazon Connect . It is subject to change..
Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html
- CloudformationResource:
AWS::Connect::Instance
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins cfn_instance_props_mixin = connect_mixins.CfnInstancePropsMixin(connect_mixins.CfnInstanceMixinProps( attributes=connect_mixins.CfnInstancePropsMixin.AttributesProperty( auto_resolve_best_voices=False, contactflow_logs=False, contact_lens=False, early_media=False, enhanced_chat_monitoring=False, enhanced_contact_monitoring=False, high_volume_out_bound=False, inbound_calls=False, multi_party_chat_conference=False, multi_party_conference=False, outbound_calls=False, use_custom_tts_voices=False ), directory_id="directoryId", identity_management_type="identityManagementType", instance_alias="instanceAlias", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Connect::Instance.- Parameters:
props (
Union[CfnInstanceMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['attributes', 'directoryId', 'identityManagementType', 'instanceAlias', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) 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.- Stability:
experimental
AttributesProperty
- class CfnInstancePropsMixin.AttributesProperty(*, auto_resolve_best_voices=None, contactflow_logs=None, contact_lens=None, early_media=None, enhanced_chat_monitoring=None, enhanced_contact_monitoring=None, high_volume_out_bound=None, inbound_calls=None, multi_party_chat_conference=None, multi_party_conference=None, outbound_calls=None, use_custom_tts_voices=None)
Bases:
object*This is a preview release for Amazon Connect .
It is subject to change.*
- Parameters:
auto_resolve_best_voices (
Union[bool,IResolvable,None]) – Boolean flag which enables AUTO_RESOLVE_BEST_VOICES on an instance.contactflow_logs (
Union[bool,IResolvable,None]) – Boolean flag which enables CONTACTFLOW_LOGS on an instance.contact_lens (
Union[bool,IResolvable,None]) – Boolean flag which enables CONTACT_LENS on an instance.early_media (
Union[bool,IResolvable,None]) – Boolean flag which enables EARLY_MEDIA on an instance.enhanced_chat_monitoring (
Union[bool,IResolvable,None]) – Boolean flag which enables ENHANCED_CHAT_MONITORING on an instance.enhanced_contact_monitoring (
Union[bool,IResolvable,None]) – Boolean flag which enables ENHANCED_CONTACT_MONITORING on an instance.high_volume_out_bound (
Union[bool,IResolvable,None]) – Boolean flag which enables HIGH_VOLUME_OUTBOUND on an instance.inbound_calls (
Union[bool,IResolvable,None]) – Mandatory element which enables inbound calls on new instance.multi_party_chat_conference (
Union[bool,IResolvable,None]) – Boolean flag which enables MULTI_PARTY_CHAT_CONFERENCE on an instance.multi_party_conference (
Union[bool,IResolvable,None]) – Boolean flag which enables MULTI_PARTY_CONFERENCE on an instance.outbound_calls (
Union[bool,IResolvable,None]) – Mandatory element which enables outbound calls on new instance.use_custom_tts_voices (
Union[bool,IResolvable,None]) – Boolean flag which enables USE_CUSTOM_TTS_VOICES on an instance.
- 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.mixins_preview.aws_connect import mixins as connect_mixins attributes_property = connect_mixins.CfnInstancePropsMixin.AttributesProperty( auto_resolve_best_voices=False, contactflow_logs=False, contact_lens=False, early_media=False, enhanced_chat_monitoring=False, enhanced_contact_monitoring=False, high_volume_out_bound=False, inbound_calls=False, multi_party_chat_conference=False, multi_party_conference=False, outbound_calls=False, use_custom_tts_voices=False )
Attributes
- auto_resolve_best_voices
Boolean flag which enables AUTO_RESOLVE_BEST_VOICES on an instance.
- contact_lens
Boolean flag which enables CONTACT_LENS on an instance.
- contactflow_logs
Boolean flag which enables CONTACTFLOW_LOGS on an instance.
- early_media
Boolean flag which enables EARLY_MEDIA on an instance.
- enhanced_chat_monitoring
Boolean flag which enables ENHANCED_CHAT_MONITORING on an instance.
- enhanced_contact_monitoring
Boolean flag which enables ENHANCED_CONTACT_MONITORING on an instance.
- high_volume_out_bound
Boolean flag which enables HIGH_VOLUME_OUTBOUND on an instance.
- inbound_calls
Mandatory element which enables inbound calls on new instance.
- multi_party_chat_conference
Boolean flag which enables MULTI_PARTY_CHAT_CONFERENCE on an instance.
- multi_party_conference
Boolean flag which enables MULTI_PARTY_CONFERENCE on an instance.
- outbound_calls
Mandatory element which enables outbound calls on new instance.
- use_custom_tts_voices
Boolean flag which enables USE_CUSTOM_TTS_VOICES on an instance.