AWS Security ChangesHomeSearch

AWS connect documentation change

Service: connect · 2025-05-10 · Documentation low

File: connect/latest/adminguide/pass-customization-object.md

Summary

Added configuration for End Chat confirmation dialog, updated parameter documentation formatting, and added new End Chat configuration parameters

Security assessment

The changes primarily introduce a confirmation dialog feature to prevent accidental chat termination and improve UI clarity. While this could reduce user errors, there's no evidence in the diff that this addresses a specific security vulnerability or weakness. The existing 'disableCustomerAttachments' parameter (with only punctuation changes) relates to security controls but wasn't substantively modified.

Diff

diff --git a/connect/latest/adminguide/pass-customization-object.md b/connect/latest/adminguide/pass-customization-object.md
index 2a14cfbba..a97fd3019 100644
--- a//connect/latest/adminguide/pass-customization-object.md
+++ b//connect/latest/adminguide/pass-customization-object.md
@@ -18,0 +19,2 @@ You can add the following optional customizations to your chat user interface:
+  * Configure a confirmation dialog that will be presented to customers when they choose the **End chat** button. This dialog verifies that customers intend to actually end the chat session. You can customize the confirmation dialog, title, message, and button text.
+
@@ -62 +64,10 @@ This example shows how to implement some of the optional customizations. For a l
-            }
+            },
+            endChat: {
+                enableConfirmationDialog: true,
+                confirmationDialogText: {
+                    title: "End Chat",
+                    message: "Are you sure you want to end this chat?",
+                    confirmButtonText: "End Chat",
+                    cancelButtonText: "Cancel",
+            },
+        },
@@ -67 +78 @@ The following image shows how the customizations look if you use the example:
-![Diagram showing the customizable display names, menu locations, and icons.](/images/connect/latest/adminguide/images/chat-customization-diagram.png)
+![Diagram showing the customizable display names, menu locations, icons, and End chat confirmation dialog.](/images/connect/latest/adminguide/images/chat-customization-diagram2.png)
@@ -80 +91 @@ When you set this option to `true`, the **Transcript download** button appears a
-`header.dynamicHeader` | Boolean | Dynamically sets the header title to "Chatting with Bot/AgentName"  
+`header.dynamicHeader` | Boolean | Dynamically sets the header title to "Chatting with Bot/AgentName".  
@@ -82,4 +93,4 @@ When you set this option to `true`, the **Transcript download** button appears a
-`transcript.hideDisplayNames` |  Boolean |  Hides all display names, will apply default name masks if `eventNames` is not provided  
-`transcript.eventNames.customer` |  String |  Masks the display name of customer  
-`transcript.eventNames.agent` |  String |  Masks the display name of agent  
-`transcript.eventNames.supervisor` |  String |  Masks the display name of supervisor  
+`transcript.hideDisplayNames` |  Boolean |  Hides all display names, will apply default name masks if `eventNames` is not provided.  
+`transcript.eventNames.customer` |  String |  Masks the display name of customer.  
+`transcript.eventNames.agent` |  String |  Masks the display name of agent.  
+`transcript.eventNames.supervisor` |  String |  Masks the display name of supervisor.  
@@ -92,9 +103,14 @@ When you set this option to `true`, the **Transcript download** button appears a
-`transcript.displayIcons` |  Boolean |  Enables message display icons  
-`transcript.iconSources.botMessage` |  String |  Icon displayed for bot messages, must be hosted on a public URL  
-`transcript.iconSources.systemMessage` |  String |  Icon displayed for system message, must be hosted on a public URL  
-`transcript.iconSources.agentMessage` |  String |  Icon displayed for agent message, must be hosted on a public URL  
-`transcript.iconSources.customerMessage` |  String |  Icon displayed for customer message, must be hosted on a public URL  
-`composer.disableEmojiPicker` |  Boolean |  Disables the emoji picker when using the [rich text editor](./enable-text-formatting-chat.html)  
-`composer.disableCustomerAttachments` | Boolean | Prevents customers from sending or uploading attachments  
-`footer.disabled` |  Boolean |  Hides the default footer and **End chat** button  
-`footer.skipCloseChatButton` |  Boolean |  Directly closes the widget on click of **End chat** button instead of showing **Close** button  
+`transcript.displayIcons` |  Boolean |  Enables message display icons.  
+`transcript.iconSources.botMessage` |  String |  Icon displayed for bot messages, must be hosted on a public URL.  
+`transcript.iconSources.systemMessage` |  String |  Icon displayed for system message, must be hosted on a public URL.  
+`transcript.iconSources.agentMessage` |  String |  Icon displayed for agent message, must be hosted on a public URL.  
+`transcript.iconSources.customerMessage` |  String |  Icon displayed for customer message, must be hosted on a public URL.  
+`composer.disableEmojiPicker` |  Boolean |  Disables the emoji picker when using the [rich text editor.](./enable-text-formatting-chat.html)  
+`composer.disableCustomerAttachments` | Boolean | Prevents customers from sending or uploading attachments.  
+`footer.disabled` |  Boolean |  Hides the default footer and **End chat** button.  
+`footer.skipCloseChatButton` |  Boolean |  Directly closes the widget on click of the **End chat** button instead of showing **Close** button.  
+`endChat.enableConfirmationDialog` | Boolean | Enables the End Chat confirmation dialog. Default texts are used if `confirmationDialogText` is not provided.  
+`endChat.confirmationDialogText.title` | String | Overrides the title of End Chat confirmation dialog.  
+`endChat.confirmationDialogText.message` | String | Overrides the message of End Chat confirmation dialog.  
+`endChat.confirmationDialogText.confirmButtonText` | String | Overrides the confirm button text in End Chat confirmation dialog.  
+`endChat.confirmationDialogText.cancelButtonText` | String | Overrides the cancel button text in End Chat confirmation dialog.