Skip to main content

browser_settings

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

Overview​

Namebrowser_settings
TypeResource
Idaws.workspaces_web.browser_settings

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
additional_encryption_contextobjectThe additional encryption context of the browser settings.
associated_portal_arnsarrayA list of web portal ARNs that this browser settings is associated with.
browser_policystringA JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions. (pattern: <code>&#123;[\S\s]&#125;\s</code>)
browser_settings_arnstringThe ARN of the browser 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>)
customer_managed_keystringThe customer managed key used to encrypt sensitive information in the browser settings. (pattern: <code>arn:[\w+=/,.@-]+:kms:[a-zA-Z0-9-]*:[a-zA-Z0-9]{1,12}:key/[a-zA-Z0-9-]+</code>)
web_content_filtering_policyobjectThe policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_browser_settingsselectbrowser_settings_arn, regionGets browser settings.
list_browser_settingsselectregionnextToken, maxResultsRetrieves a list of browser settings.
create_browser_settingsinsertregionCreates a browser settings resource that can be associated with a web portal. Once associated with a web portal, browser settings control how the browser will behave once a user starts a streaming session for the web portal.
associate_browser_settingsupdateportal_arn, browserSettingsArn, regionAssociates a browser settings resource with a web portal.
disassociate_browser_settingsupdateportal_arn, regionDisassociates browser settings from a web portal.
update_browser_settingsupdatebrowser_settings_arn, regionUpdates browser settings.
delete_browser_settingsdeletebrowser_settings_arn, regionDeletes browser 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
browserSettingsArnstringThe ARN of the browser settings.
browser_settings_arnstringThe ARN of the browser settings.
portal_arnstringThe ARN of the web portal.
regionstringAWS region (default: us-east-1)
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 browser settings.

SELECT
additional_encryption_context,
associated_portal_arns,
browser_policy,
browser_settings_arn,
customer_managed_key,
web_content_filtering_policy
FROM aws.workspaces_web.browser_settings
WHERE browser_settings_arn = '{{ browser_settings_arn }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples​

Creates a browser settings resource that can be associated with a web portal. Once associated with a web portal, browser settings control how the browser will behave once a user starts a streaming session for the web portal.

INSERT INTO aws.workspaces_web.browser_settings (
tags,
customerManagedKey,
additionalEncryptionContext,
browserPolicy,
clientToken,
webContentFilteringPolicy,
region
)
SELECT
'{{ tags }}',
'{{ customerManagedKey }}',
'{{ additionalEncryptionContext }}',
'{{ browserPolicy }}',
'{{ clientToken }}',
'{{ webContentFilteringPolicy }}',
'{{ region }}'
RETURNING
browser_settings_arn
;

UPDATE examples​

Associates a browser settings resource with a web portal.

UPDATE aws.workspaces_web.browser_settings
SET
-- No updatable properties
WHERE
portal_arn = '{{ portal_arn }}' --required
AND browserSettingsArn = '{{ browserSettingsArn }}' --required
AND region = '{{ region }}' --required
RETURNING
browser_settings_arn,
portal_arn;

DELETE examples​

Deletes browser settings.

DELETE FROM aws.workspaces_web.browser_settings
WHERE browser_settings_arn = '{{ browser_settings_arn }}' --required
AND region = '{{ region }}' --required
;