AWS cli medium security documentation change
Summary
Added WebRTC security recommendations, clarified token expiration policies, and expanded documentation for WebRTC connection types
Security assessment
Added explicit security recommendations for WebRTC and clarified token expiration policies (60-second disconnect timeout). Specifies security controls for WebRTC connections including time-limited credentials and reauthentication requirements, which help prevent stale connections and unauthorized access.
Diff
diff --git a/cli/latest/reference/connectparticipant/create-participant-connection.md b/cli/latest/reference/connectparticipant/create-participant-connection.md index add5c1031..4e06dfe6c 100644 --- a//cli/latest/reference/connectparticipant/create-participant-connection.md +++ b//cli/latest/reference/connectparticipant/create-participant-connection.md @@ -15 +15 @@ - * [AWS CLI 2.28.11 Command Reference](../../index.html) » + * [AWS CLI 2.28.12 Command Reference](../../index.html) » @@ -62,0 +63,2 @@ For security recommendations, see [Amazon Connect Chat security best practices]( +For WebRTC security recommendations, see [Amazon Connect WebRTC security best practices](https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-webrtc-security) . + @@ -67 +69,3 @@ For security recommendations, see [Amazon Connect Chat security best practices]( -The participant token is valid for the lifetime of the participant – until they are part of a contact. +The participant token is valid for the lifetime of the participant – until they are part of a contact. For WebRTC participants, if they leave or are disconnected for 60 seconds, a new participant needs to be created using the [CreateParticipant](https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateParticipant.html) API. + +> **For ``WEBSOCKET`` Type** : @@ -69 +73 @@ The participant token is valid for the lifetime of the participant – until the -The response URL for `WEBSOCKET` Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic. +The response URL for has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic. @@ -76,0 +81,8 @@ Upon websocket URL expiry, as specified in the response ConnectionExpiry paramet +The expiry time for the connection token is different than the `ChatDurationInMinutes` . Expiry time for the connection token is 1 day. + +> **For ``WEBRTC_CONNECTION`` Type** : + +The response includes connection data required for the client application to join the call using the Amazon Chime SDK client libraries. The WebRTCConnection response contains Meeting and Attendee information needed to establish the media connection. + +The attendee join token in WebRTCConnection response is valid for the lifetime of the participant in the call. If a participant leaves or is disconnected for 60 seconds, their participant credentials will no longer be valid, and a new participant will need to be created to rejoin the call. + @@ -79 +91,5 @@ Upon websocket URL expiry, as specified in the response ConnectionExpiry paramet -> **Feature specifications** : For information about feature specifications, such as the allowed number of open websocket connections per participant, see [Feature specifications](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits) in the _Amazon Connect Administrator Guide_ . +> **Multi-user web, in-app, video calling support** : + +For WebRTC calls, this API is used in conjunction with the CreateParticipant API to enable multi-party calling. The StartWebRTCContact API creates the initial contact and routes it to an agent, while CreateParticipant adds additional participants to the ongoing call. For more information about multi-party WebRTC calls, see [Enable multi-user web, in-app, and video calling](https://docs.aws.amazon.com/connect/latest/adminguide/enable-multiuser-inapp.html) in the _Amazon Connect Administrator Guide_ . + +> **Feature specifications** : For information about feature specifications, such as the allowed number of open websocket connections per participant or maximum number of WebRTC participants, see [Feature specifications](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits) in the _Amazon Connect Administrator Guide_ . @@ -131,0 +148 @@ Syntax: + WEBRTC_CONNECTION @@ -270,0 +288,64 @@ ConnectionCredentials -> (structure) +WebRTCConnection -> (structure) + +> Creates the participant’s WebRTC connection data required for the client application (mobile application or website) to connect to the call. +> +> Attendee -> (structure) +> +>> The attendee information, including attendee ID and join token. +>> +>> AttendeeId -> (string) +>> +>>> The Amazon Chime SDK attendee ID. +>> +>> JoinToken -> (string) +>> +>>> The join token used by the Amazon Chime SDK attendee. +> +> Meeting -> (structure) +> +>> A meeting created using the Amazon Chime SDK. +>> +>> MediaRegion -> (string) +>> +>>> The Amazon Web Services Region in which you create the meeting. +>> +>> MediaPlacement -> (structure) +>> +>>> The media placement for the meeting. +>>> +>>> AudioHostUrl -> (string) +>>> +>>>> The audio host URL. +>>> +>>> AudioFallbackUrl -> (string) +>>> +>>>> The audio fallback URL. +>>> +>>> SignalingUrl -> (string) +>>> +>>>> The signaling URL. +>>> +>>> TurnControlUrl -> (string) +>>> +>>>> The turn control URL. +>>> +>>> EventIngestionUrl -> (string) +>>> +>>>> The event ingestion URL to which you send client meeting events. +>> +>> MeetingFeatures -> (structure) +>> +>>> The configuration settings of the features available to a meeting. +>>> +>>> Audio -> (structure) +>>> +>>>> The configuration settings for the audio features available to a meeting. +>>>> +>>>> EchoReduction -> (string) +>>>> +>>>>> Makes echo reduction available to clients who connect to the meeting. +>> +>> MeetingId -> (string) +>> +>>> The Amazon Chime SDK meeting ID. + @@ -281 +362 @@ ConnectionCredentials -> (structure) - * [AWS CLI 2.28.11 Command Reference](../../index.html) » + * [AWS CLI 2.28.12 Command Reference](../../index.html) »