Skip to content

Creates a user settings resource that can be associated with a web portal

Description

Creates a user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.

Usage

workspacesweb_create_user_settings(copyAllowed, pasteAllowed,
  downloadAllowed, uploadAllowed, printAllowed, tags,
  disconnectTimeoutInMinutes, idleDisconnectTimeoutInMinutes, clientToken,
  cookieSynchronizationConfiguration, customerManagedKey,
  additionalEncryptionContext, deepLinkAllowed, toolbarConfiguration,
  brandingConfigurationInput, webAuthnAllowed)

Arguments

  • copyAllowed

    [required] Specifies whether the user can copy text from the streaming session to the local device.

  • pasteAllowed

    [required] Specifies whether the user can paste text from the local device to the streaming session.

  • downloadAllowed

    [required] Specifies whether the user can download files from the streaming session to the local device.

  • uploadAllowed

    [required] Specifies whether the user can upload files from the local device to the streaming session.

  • printAllowed

    [required] Specifies whether the user can print to the local device.

  • tags

    The tags to add to the user settings resource. A tag is a key-value pair.

  • disconnectTimeoutInMinutes

    The amount of time that a streaming session remains active after users disconnect.

  • idleDisconnectTimeoutInMinutes

    The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.

  • clientToken

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

    If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

  • cookieSynchronizationConfiguration

    The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.

  • customerManagedKey

    The customer managed key used to encrypt sensitive information in the user settings.

  • additionalEncryptionContext

    The additional encryption context of the user settings.

  • deepLinkAllowed

    Specifies whether the user can use deep links that open automatically when connecting to a session.

  • toolbarConfiguration

    The configuration of the toolbar. This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.

  • brandingConfigurationInput

    The branding configuration input that customizes the appearance of the web portal for end users. This includes a custom logo, favicon, localized strings, color theme, and optionally a wallpaper and terms of service.

  • webAuthnAllowed

    Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.

Value

A list with the following syntax:

list(
  userSettingsArn = "string"
)

Request syntax

svc$create_user_settings(
  copyAllowed = "Disabled"|"Enabled",
  pasteAllowed = "Disabled"|"Enabled",
  downloadAllowed = "Disabled"|"Enabled",
  uploadAllowed = "Disabled"|"Enabled",
  printAllowed = "Disabled"|"Enabled",
  tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  disconnectTimeoutInMinutes = 123,
  idleDisconnectTimeoutInMinutes = 123,
  clientToken = "string",
  cookieSynchronizationConfiguration = list(
    allowlist = list(
      list(
        domain = "string",
        name = "string",
        path = "string"
      )
    ),
    blocklist = list(
      list(
        domain = "string",
        name = "string",
        path = "string"
      )
    )
  ),
  customerManagedKey = "string",
  additionalEncryptionContext = list(
    "string"
  ),
  deepLinkAllowed = "Disabled"|"Enabled",
  toolbarConfiguration = list(
    toolbarType = "Floating"|"Docked",
    visualMode = "Dark"|"Light",
    hiddenToolbarItems = list(
      "Windows"|"DualMonitor"|"FullScreen"|"Webcam"|"Microphone"
    ),
    maxDisplayResolution = "size4096X2160"|"size3840X2160"|"size3440X1440"|"size2560X1440"|"size1920X1080"|"size1280X720"|"size1024X768"|"size800X600"
  ),
  brandingConfigurationInput = list(
    logo = list(
      blob = raw,
      s3Uri = "string"
    ),
    wallpaper = list(
      blob = raw,
      s3Uri = "string"
    ),
    favicon = list(
      blob = raw,
      s3Uri = "string"
    ),
    localizedStrings = list(
      list(
        browserTabTitle = "string",
        welcomeText = "string",
        loginTitle = "string",
        loginDescription = "string",
        loginButtonText = "string",
        contactLink = "string",
        contactButtonText = "string",
        loadingText = "string"
      )
    ),
    colorTheme = "Light"|"Dark",
    termsOfService = "string"
  ),
  webAuthnAllowed = "Disabled"|"Enabled"
)