CreateInstance - Amazon Connect


This API is in preview release for Amazon Connect and 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. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect.

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.

Request Syntax

PUT /instance HTTP/1.1 Content-type: application/json { "ClientToken": "string", "DirectoryId": "string", "IdentityManagementType": "string", "InboundCallsEnabled": boolean, "InstanceAlias": "string", "OutboundCallsEnabled": boolean, "Tags": { "string" : "string" } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.


The idempotency token.

Type: String

Length Constraints: Maximum length of 500.

Required: No


The identifier for the directory.

Type: String

Length Constraints: Fixed length of 12.

Pattern: ^d-[0-9a-f]{10}$

Required: No


The type of identity management for your Amazon Connect users.

Type: String


Required: Yes


Your contact center handles incoming contacts.

Type: Boolean

Required: Yes


The name for your instance.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 45.

Pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$

Required: No


Your contact center allows outbound calls.

Type: Boolean

Required: Yes


The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

Type: String to string map

Map Entries: Maximum number of 50 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Arn": "string", "Id": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


The Amazon Resource Name (ARN) of the instance.

Type: String


The identifier for the instance.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.


For information about the errors that are common to all actions, see Common Errors.


Request processing failed because of an error or failure with the service.

HTTP Status Code: 500


The request is not valid.

HTTP Status Code: 400


The specified resource was not found.

HTTP Status Code: 404


The service quota has been exceeded.

HTTP Status Code: 402


The throttling limit has been exceeded.

HTTP Status Code: 429

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: