Skip to main content

browser_settings

Creates, updates, deletes or gets a browser_setting resource or lists browser_settings in a region

Overview

Namebrowser_settings
TypeResource
DescriptionDefinition of AWS::WorkSpacesWeb::BrowserSettings Resource Type
Idaws.workspacesweb.browser_settings

Fields

NameDatatypeDescription
additional_encryption_contextobject
associated_portal_arnsarray
browser_policystring
browser_settings_arnstring
customer_managed_keystring
tagsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all browser_settings in a region.

SELECT
region,
additional_encryption_context,
associated_portal_arns,
browser_policy,
browser_settings_arn,
customer_managed_key,
tags
FROM aws.workspacesweb.browser_settings
WHERE region = 'us-east-1';

Gets all properties from an individual browser_setting.

SELECT
region,
additional_encryption_context,
associated_portal_arns,
browser_policy,
browser_settings_arn,
customer_managed_key,
tags
FROM aws.workspacesweb.browser_settings
WHERE region = 'us-east-1' AND data__Identifier = '<BrowserSettingsArn>';

INSERT example

Use the following StackQL query and manifest file to create a new browser_setting resource, using stack-deploy.

/*+ create */
INSERT INTO aws.workspacesweb.browser_settings (
AdditionalEncryptionContext,
BrowserPolicy,
CustomerManagedKey,
Tags,
region
)
SELECT
'{{ AdditionalEncryptionContext }}',
'{{ BrowserPolicy }}',
'{{ CustomerManagedKey }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.workspacesweb.browser_settings
WHERE data__Identifier = '<BrowserSettingsArn>'
AND region = 'us-east-1';

Permissions

To operate on the browser_settings resource, the following permissions are required:

Create

workspaces-web:CreateBrowserSettings,
workspaces-web:GetBrowserSettings,
workspaces-web:ListTagsForResource,
workspaces-web:TagResource,
kms:CreateGrant,
kms:DescribeKey,
kms:GenerateDataKey,
kms:Decrypt

Read

workspaces-web:GetBrowserSettings,
workspaces-web:ListBrowserSettings,
workspaces-web:ListTagsForResource,
kms:CreateGrant,
kms:DescribeKey,
kms:GenerateDataKey,
kms:Decrypt

Update

workspaces-web:UpdateBrowserSettings,
workspaces-web:TagResource,
workspaces-web:UntagResource,
workspaces-web:GetBrowserSettings,
workspaces-web:ListBrowserSettings,
workspaces-web:ListTagsForResource,
kms:CreateGrant,
kms:DescribeKey,
kms:GenerateDataKey,
kms:Decrypt

Delete

workspaces-web:GetBrowserSettings,
workspaces-web:DeleteBrowserSettings,
kms:CreateGrant,
kms:DescribeKey,
kms:GenerateDataKey,
kms:Decrypt

List

workspaces-web:ListBrowserSettings