ParticipantTokenConfiguration
Object specifying a participant token configuration in a stage.
Contents
- attributes
-
Application-provided attributes to encode into the corresponding participant token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
Type: String to string map
Required: No
- capabilities
-
Set of capabilities that the user is allowed to perform in the stage.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 2 items.
Valid Values:
PUBLISH | SUBSCRIBE
Required: No
- duration
-
Duration (in minutes), after which the corresponding participant token expires. Default: 720 (12 hours).
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 20160.
Required: No
- userId
-
Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 128.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: