CfnInstanceProps

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

Bases: object

Properties for defining a CfnInstance.

Parameters:
  • attributes (Union[IResolvable, AttributesProperty, Dict[str, Any]]) – A toggle for an individual feature at the instance level.

  • identity_management_type (str) – The identity management type.

  • directory_id (Optional[str]) – The identifier for the directory.

  • instance_alias (Optional[str]) – The alias of instance. InstanceAlias is only required when IdentityManagementType is CONNECT_MANAGED or SAML . InstanceAlias is not required when IdentityManagementType is EXISTING_DIRECTORY .

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource.

See:

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.
from aws_cdk import 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",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

attributes

A toggle for an individual feature at the instance level.

See:

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

directory_id

The identifier for the directory.

See:

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

identity_management_type

The identity management type.

See:

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

instance_alias

The alias of instance.

InstanceAlias is only required when IdentityManagementType is CONNECT_MANAGED or SAML . InstanceAlias is not required when IdentityManagementType is EXISTING_DIRECTORY .

See:

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

tags

An array of key-value pairs to apply to this resource.

See:

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