Skip to main content

portals

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

Overview

Nameportals
TypeResource
Idaws.workspaces_web.portals

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
additional_encryption_contextobjectThe additional encryption context of the portal.
authentication_typestringThe type of authentication integration points used when signing into the web portal. Defaults to Standard. Standard web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider. IAM Identity Center web portals are authenticated through IAM Identity Center. Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center. (Standard, IAM_Identity_Center)
browser_settings_arnstringThe ARN of the browser settings that is associated with this web portal. (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>)
browser_typestringThe browser that users see when using a streaming session. (Chrome)
creation_datestring (date-time)The creation date of the web portal.
customer_managed_keystringThe customer managed key used to encrypt sensitive information in the portal. (pattern: <code>arn:[\w+=/,.@-]+:kms:[a-zA-Z0-9-]*:[a-zA-Z0-9]{1,12}:key/[a-zA-Z0-9-]+</code>)
data_protection_settings_arnstringThe ARN of the data protection 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>)
display_namestringThe name of the web portal. (pattern: <code>.+</code>)
instance_typestringThe type and resources of the underlying instance. (standard.regular, standard.large, standard.xlarge)
ip_access_settings_arnstringThe ARN of the IP access 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>)
max_concurrent_sessionsintegerThe maximum number of concurrent sessions for the portal.
network_settings_arnstringThe ARN of the network settings that is associated with the web portal. (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>)
portal_arnstringThe ARN of the web portal. (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>)
portal_custom_domainstringThe custom domain of the web portal that users access in order to start streaming sessions. (pattern: <code>(|[a-zA-Z0-9]?((?!-)([A-Za-z0-9-]*[A-Za-z0-9]).)+[a-zA-Z0-9]+)</code>)
portal_endpointstringThe endpoint URL of the web portal that users access in order to start streaming sessions. (pattern: <code>(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]</code>)
portal_statusstringThe status of the web portal. (Incomplete, Pending, Active)
renderer_typestringThe renderer that is used in streaming sessions. (AppStream)
session_logger_arnstringThe ARN of the session logger that is assocaited with the portal. (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>)
status_reasonstringA message that explains why the web portal is in its current status. (pattern: <code>.*</code>)
trust_store_arnstringThe ARN of the trust store that is associated with the web portal. (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>)
user_access_logging_settings_arnstringThe ARN of the user access logging settings that is associated with the web portal. (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>)
user_settings_arnstringThe ARN of the user settings that is associated with the web portal. (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>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_portalselectportal_arn, regionGets the web portal.
list_portalsselectregionnextToken, maxResultsRetrieves a list or web portals.
create_portalinsertregionCreates a web portal.
update_portalupdateportal_arn, regionUpdates a web portal.
delete_portaldeleteportal_arn, regionDeletes a web portal.

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)
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 the web portal.

SELECT
additional_encryption_context,
authentication_type,
browser_settings_arn,
browser_type,
creation_date,
customer_managed_key,
data_protection_settings_arn,
display_name,
instance_type,
ip_access_settings_arn,
max_concurrent_sessions,
network_settings_arn,
portal_arn,
portal_custom_domain,
portal_endpoint,
portal_status,
renderer_type,
session_logger_arn,
status_reason,
trust_store_arn,
user_access_logging_settings_arn,
user_settings_arn
FROM aws.workspaces_web.portals
WHERE portal_arn = '{{ portal_arn }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a web portal.

INSERT INTO aws.workspaces_web.portals (
displayName,
tags,
customerManagedKey,
additionalEncryptionContext,
clientToken,
authenticationType,
instanceType,
maxConcurrentSessions,
portalCustomDomain,
region
)
SELECT
'{{ displayName }}',
'{{ tags }}',
'{{ customerManagedKey }}',
'{{ additionalEncryptionContext }}',
'{{ clientToken }}',
'{{ authenticationType }}',
'{{ instanceType }}',
{{ maxConcurrentSessions }},
'{{ portalCustomDomain }}',
'{{ region }}'
RETURNING
portal_arn,
portal_endpoint
;

UPDATE examples

Updates a web portal.

UPDATE aws.workspaces_web.portals
SET
displayName = '{{ displayName }}',
authenticationType = '{{ authenticationType }}',
instanceType = '{{ instanceType }}',
maxConcurrentSessions = {{ maxConcurrentSessions }},
portalCustomDomain = '{{ portalCustomDomain }}'
WHERE
portal_arn = '{{ portal_arn }}' --required
AND region = '{{ region }}' --required
RETURNING
portal;

DELETE examples

Deletes a web portal.

DELETE FROM aws.workspaces_web.portals
WHERE portal_arn = '{{ portal_arn }}' --required
AND region = '{{ region }}' --required
;