Skip to main content

portals

Creates, updates, deletes or gets a portal resource or lists portals in a region

Overview

Nameportals
TypeResource
DescriptionDefinition of AWS::WorkSpacesWeb::Portal Resource Type
Idaws.workspacesweb.portals

Fields

NameDatatypeDescription
additional_encryption_contextobject
authentication_typestring
browser_settings_arnstring
browser_typestring
creation_datestring
customer_managed_keystring
display_namestring
instance_typestring
ip_access_settings_arnstring
max_concurrent_sessionsnumber
network_settings_arnstring
portal_arnstring
portal_endpointstring
portal_statusstring
renderer_typestring
service_provider_saml_metadatastring
status_reasonstring
tagsarray
trust_store_arnstring
user_access_logging_settings_arnstring
user_settings_arnstring
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 portals in a region.

SELECT
region,
additional_encryption_context,
authentication_type,
browser_settings_arn,
browser_type,
creation_date,
customer_managed_key,
display_name,
instance_type,
ip_access_settings_arn,
max_concurrent_sessions,
network_settings_arn,
portal_arn,
portal_endpoint,
portal_status,
renderer_type,
service_provider_saml_metadata,
status_reason,
tags,
trust_store_arn,
user_access_logging_settings_arn,
user_settings_arn
FROM aws.workspacesweb.portals
WHERE region = 'us-east-1';

Gets all properties from an individual portal.

SELECT
region,
additional_encryption_context,
authentication_type,
browser_settings_arn,
browser_type,
creation_date,
customer_managed_key,
display_name,
instance_type,
ip_access_settings_arn,
max_concurrent_sessions,
network_settings_arn,
portal_arn,
portal_endpoint,
portal_status,
renderer_type,
service_provider_saml_metadata,
status_reason,
tags,
trust_store_arn,
user_access_logging_settings_arn,
user_settings_arn
FROM aws.workspacesweb.portals
WHERE region = 'us-east-1' AND data__Identifier = '<PortalArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.workspacesweb.portals (
AdditionalEncryptionContext,
AuthenticationType,
BrowserSettingsArn,
CustomerManagedKey,
DisplayName,
InstanceType,
IpAccessSettingsArn,
MaxConcurrentSessions,
NetworkSettingsArn,
Tags,
TrustStoreArn,
UserAccessLoggingSettingsArn,
UserSettingsArn,
region
)
SELECT
'{{ AdditionalEncryptionContext }}',
'{{ AuthenticationType }}',
'{{ BrowserSettingsArn }}',
'{{ CustomerManagedKey }}',
'{{ DisplayName }}',
'{{ InstanceType }}',
'{{ IpAccessSettingsArn }}',
'{{ MaxConcurrentSessions }}',
'{{ NetworkSettingsArn }}',
'{{ Tags }}',
'{{ TrustStoreArn }}',
'{{ UserAccessLoggingSettingsArn }}',
'{{ UserSettingsArn }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

workspaces-web:CreatePortal,
workspaces-web:GetPortal,
workspaces-web:GetPortalServiceProviderMetadata,
workspaces-web:AssociateBrowserSettings,
workspaces-web:AssociateIpAccessSettings,
workspaces-web:AssociateNetworkSettings,
workspaces-web:AssociateTrustStore,
workspaces-web:AssociateUserAccessLoggingSettings,
workspaces-web:AssociateUserSettings,
workspaces-web:ListTagsForResource,
workspaces-web:TagResource,
kms:CreateGrant,
kms:GenerateDataKey,
kms:Decrypt,
ec2:CreateNetworkInterface,
ec2:CreateNetworkInterfacePermission,
ec2:DeleteNetworkInterface,
ec2:DeleteNetworkInterfacePermission,
ec2:ModifyNetworkInterfaceAttribute,
kinesis:PutRecord,
kinesis:PutRecords,
kinesis:DescribeStreamSummary,
sso:CreateManagedApplicationInstance,
sso:DescribeRegisteredRegions

Read

workspaces-web:GetPortal,
workspaces-web:GetPortalServiceProviderMetadata,
workspaces-web:ListTagsForResource,
kms:Decrypt

Update

workspaces-web:GetPortal,
workspaces-web:GetPortalServiceProviderMetadata,
workspaces-web:UpdatePortal,
workspaces-web:AssociateBrowserSettings,
workspaces-web:AssociateIpAccessSettings,
workspaces-web:AssociateNetworkSettings,
workspaces-web:AssociateTrustStore,
workspaces-web:AssociateUserAccessLoggingSettings,
workspaces-web:AssociateUserSettings,
workspaces-web:DisassociateBrowserSettings,
workspaces-web:DisassociateIpAccessSettings,
workspaces-web:DisassociateNetworkSettings,
workspaces-web:DisassociateTrustStore,
workspaces-web:DisassociateUserAccessLoggingSettings,
workspaces-web:DisassociateUserSettings,
workspaces-web:ListTagsForResource,
workspaces-web:TagResource,
workspaces-web:UntagResource,
kms:CreateGrant,
kms:Encrypt,
kms:GenerateDataKey,
kms:Decrypt,
ec2:CreateNetworkInterface,
ec2:CreateNetworkInterfacePermission,
ec2:DeleteNetworkInterface,
ec2:DeleteNetworkInterfacePermission,
ec2:ModifyNetworkInterfaceAttribute,
kinesis:PutRecord,
kinesis:PutRecords,
kinesis:DescribeStreamSummary,
sso:CreateManagedApplicationInstance,
sso:DeleteManagedApplicationInstance,
sso:DescribeRegisteredRegions,
sso:GetApplicationInstance,
sso:ListApplicationInstances

Delete

workspaces-web:GetPortal,
workspaces-web:DeletePortal,
workspaces-web:DisassociateBrowserSettings,
workspaces-web:DisassociateIpAccessSettings,
workspaces-web:DisassociateNetworkSettings,
workspaces-web:DisassociateTrustStore,
workspaces-web:DisassociateUserAccessLoggingSettings,
workspaces-web:DisassociateUserSettings,
kms:Decrypt,
sso:DeleteManagedApplicationInstance

List

workspaces-web:ListPortals,
kms:Decrypt