Builder

class Builder

Properties

Link copied to clipboard

Application-provided attributes to encode into the 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.

Link copied to clipboard

Set of capabilities that the user is allowed to perform in the stage. Default: PUBLISH, SUBSCRIBE.

Link copied to clipboard

Duration (in minutes), after which the token expires. Default: 720 (12 hours).

Link copied to clipboard

ARN of the stage to which this token is scoped.

Link copied to clipboard

Name that can be specified to help identify the token. 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.