class CfnInstancePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins.CfnInstancePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsconnect/mixins#CfnInstancePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.connect.mixins.CfnInstancePropsMixin |
Python | aws_cdk.mixins_preview.aws_connect.mixins.CfnInstancePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_connect » mixins » CfnInstancePropsMixin |
Implements
IMixin
Extends
Mixin
This 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 also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as connect_mixins } from '@aws-cdk/mixins-preview/aws-connect';
const cfnInstancePropsMixin = new connect_mixins.CfnInstancePropsMixin({
attributes: {
autoResolveBestVoices: false,
contactflowLogs: false,
contactLens: false,
earlyMedia: false,
enhancedChatMonitoring: false,
enhancedContactMonitoring: false,
highVolumeOutBound: false,
inboundCalls: false,
multiPartyChatConference: false,
multiPartyConference: false,
outboundCalls: false,
useCustomTtsVoices: false,
},
directoryId: 'directoryId',
identityManagementType: 'identityManagementType',
instanceAlias: 'instanceAlias',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnInstancePropsMixin(props: CfnInstanceMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Instance Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Connect::Instance.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript