CfnInstanceProps

class aws_cdk.aws_connect.CfnInstanceProps(*, attributes, identity_management_type, directory_id=None, instance_alias=None)

Bases: object

Properties for defining a CfnInstance.

Parameters
  • attributes (Union[IResolvable, AttributesProperty, Dict[str, Any]]) – AWS::Connect::Instance.Attributes.

  • identity_management_type (str) – AWS::Connect::Instance.IdentityManagementType.

  • directory_id (Optional[str]) – AWS::Connect::Instance.DirectoryId.

  • instance_alias (Optional[str]) – AWS::Connect::Instance.InstanceAlias.

Link

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

ExampleMetadata

fixture=_generated

Example:

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

cfn_instance_props = connect.CfnInstanceProps(
    attributes=connect.CfnInstance.AttributesProperty(
        inbound_calls=False,
        outbound_calls=False,

        # the properties below are optional
        auto_resolve_best_voices=False,
        contactflow_logs=False,
        contact_lens=False,
        early_media=False,
        use_custom_tts_voices=False
    ),
    identity_management_type="identityManagementType",

    # the properties below are optional
    directory_id="directoryId",
    instance_alias="instanceAlias"
)

Attributes

attributes

AWS::Connect::Instance.Attributes.

Link

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

Return type

Union[IResolvable, AttributesProperty]

directory_id

AWS::Connect::Instance.DirectoryId.

Link

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

Return type

Optional[str]

identity_management_type

AWS::Connect::Instance.IdentityManagementType.

Link

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

Return type

str

instance_alias

AWS::Connect::Instance.InstanceAlias.

Link

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

Return type

Optional[str]