Skip to main content

user_settings

Creates, updates, deletes, gets or lists a user_settings resource.

Overview

Nameuser_settings
TypeResource
Idaws.workspaces_web.user_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
additional_encryption_contextobjectThe additional encryption context of the user settings.
associated_portal_arnsarrayA list of web portal ARNs that this user settings is associated with.
branding_configurationobjectThe branding configuration output that customizes the appearance of the web portal for end users.
cookie_synchronization_configurationobjectThe configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
copy_allowedstringSpecifies whether the user can copy text from the streaming session to the local device. (Disabled, Enabled)
customer_managed_keystringThe customer managed key used to encrypt sensitive information in the user settings. (pattern: <code>arn:[\w+=/,.@-]+:kms:[a-zA-Z0-9-]*:[a-zA-Z0-9]{1,12}:key/[a-zA-Z0-9-]+</code>)
deep_link_allowedstringSpecifies whether the user can use deep links that open automatically when connecting to a session. (Disabled, Enabled)
disconnect_timeout_in_minutesintegerThe amount of time that a streaming session remains active after users disconnect.
download_allowedstringSpecifies whether the user can download files from the streaming session to the local device. (Disabled, Enabled)
idle_disconnect_timeout_in_minutesintegerThe amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
paste_allowedstringSpecifies whether the user can paste text from the local device to the streaming session. (Disabled, Enabled)
print_allowedstringSpecifies whether the user can print to the local device. (Disabled, Enabled)
toolbar_configurationobjectThe 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.
upload_allowedstringSpecifies whether the user can upload files from the local device to the streaming session. (Disabled, Enabled)
user_settings_arnstringThe ARN of the user settings. (pattern: <code>arn:[\w+=/,.@-]+:[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(/[a-fA-F0-9-]{36})+</code>)
web_authn_allowedstringSpecifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session. (Disabled, Enabled)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_settingsselectuser_settings_arn, regionGets user settings.
list_user_settingsselectregionnextToken, maxResultsRetrieves a list of user settings.
create_user_settingsinsertregion, copyAllowed, pasteAllowed, downloadAllowed, uploadAllowed, printAllowedCreates 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.
associate_user_settingsupdateportal_arn, userSettingsArn, regionAssociates a user settings resource with a web portal.
disassociate_user_settingsupdateportal_arn, regionDisassociates user settings from a web portal.
update_user_settingsupdateuser_settings_arn, regionUpdates the user settings.
delete_user_settingsdeleteuser_settings_arn, regionDeletes user settings.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
portal_arnstringThe ARN of the web portal.
regionstringAWS region (default: us-east-1)
userSettingsArnstringThe ARN of the user settings.
user_settings_arnstringThe ARN of the user settings.
maxResultsintegerThe maximum number of results to be included in the next page.
nextTokenstringThe pagination token used to retrieve the next page of results for this operation.

SELECT examples

Gets user settings.

SELECT
additional_encryption_context,
associated_portal_arns,
branding_configuration,
cookie_synchronization_configuration,
copy_allowed,
customer_managed_key,
deep_link_allowed,
disconnect_timeout_in_minutes,
download_allowed,
idle_disconnect_timeout_in_minutes,
paste_allowed,
print_allowed,
toolbar_configuration,
upload_allowed,
user_settings_arn,
web_authn_allowed
FROM aws.workspaces_web.user_settings
WHERE user_settings_arn = '{{ user_settings_arn }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

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.

INSERT INTO aws.workspaces_web.user_settings (
copyAllowed,
pasteAllowed,
downloadAllowed,
uploadAllowed,
printAllowed,
tags,
disconnectTimeoutInMinutes,
idleDisconnectTimeoutInMinutes,
clientToken,
cookieSynchronizationConfiguration,
customerManagedKey,
additionalEncryptionContext,
deepLinkAllowed,
toolbarConfiguration,
brandingConfigurationInput,
webAuthnAllowed,
region
)
SELECT
'{{ copyAllowed }}' /* required */,
'{{ pasteAllowed }}' /* required */,
'{{ downloadAllowed }}' /* required */,
'{{ uploadAllowed }}' /* required */,
'{{ printAllowed }}' /* required */,
'{{ tags }}',
{{ disconnectTimeoutInMinutes }},
{{ idleDisconnectTimeoutInMinutes }},
'{{ clientToken }}',
'{{ cookieSynchronizationConfiguration }}',
'{{ customerManagedKey }}',
'{{ additionalEncryptionContext }}',
'{{ deepLinkAllowed }}',
'{{ toolbarConfiguration }}',
'{{ brandingConfigurationInput }}',
'{{ webAuthnAllowed }}',
'{{ region }}'
RETURNING
user_settings_arn
;

UPDATE examples

Associates a user settings resource with a web portal.

UPDATE aws.workspaces_web.user_settings
SET
-- No updatable properties
WHERE
portal_arn = '{{ portal_arn }}' --required
AND userSettingsArn = '{{ userSettingsArn }}' --required
AND region = '{{ region }}' --required
RETURNING
portal_arn,
user_settings_arn;

DELETE examples

Deletes user settings.

DELETE FROM aws.workspaces_web.user_settings
WHERE user_settings_arn = '{{ user_settings_arn }}' --required
AND region = '{{ region }}' --required
;