-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathbackendEndpoints.js
18 lines (16 loc) · 1.01 KB
/
backendEndpoints.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
/**
* UPDATE ME - add endpoints after deploying the CFN template
*
* CloudFormation Template: https://github.com/amazon-connect/amazon-connect-chat-ui-examples/tree/master/cloudformationTemplates/startChatContactAPI
*
* Prerequisites:
* - Amazon Connect Instance: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instances.html
* - InstanceId: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
* - ContactFlowId: https://docs.aws.amazon.com/connect/latest/adminguide/find-contact-flow-id.html
*/
var contactFlowId = "12345678-1234-1234-1234-123456789012"; // TODO: Fill in
var instanceId = "12345678-1234-1234-1234-123456789012"; // TODO: Fill in
var apiGatewayEndpoint = "https://<api-id>.execute-api.<region>.amazonaws.com/<stage>/"; // TODO: Fill in with the API Gateway endpoint created by your CloudFormation template
var region = "<region>"; // TODO: Fill in