Skip to main content

web_experiences

Creates, updates, deletes or gets a web_experience resource or lists web_experiences in a region

Overview

Nameweb_experiences
TypeResource
DescriptionDefinition of AWS::QBusiness::WebExperience Resource Type
Idawscc.qbusiness.web_experiences

Fields

NameDatatypeDescription
application_idstring
created_atstring
default_endpointstring
identity_provider_configurationobject
role_arnstring
sample_prompts_control_modestring
statusstring
subtitlestring
tagsarray
titlestring
updated_atstring
web_experience_arnstring
web_experience_idstring
welcome_messagestring
originsarray
customization_configurationobject
browser_extension_configurationobject
regionstringAWS region.

For more information, see AWS::QBusiness::WebExperience.

Methods

NameResourceAccessible byRequired Params
create_resourceweb_experiencesINSERTApplicationId, region
delete_resourceweb_experiencesDELETEIdentifier, region
update_resourceweb_experiencesUPDATEIdentifier, PatchDocument, region
list_resourcesweb_experiences_list_onlySELECTregion
get_resourceweb_experiencesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual web_experience.

SELECT
region,
application_id,
created_at,
default_endpoint,
identity_provider_configuration,
role_arn,
sample_prompts_control_mode,
status,
subtitle,
tags,
title,
updated_at,
web_experience_arn,
web_experience_id,
welcome_message,
origins,
customization_configuration,
browser_extension_configuration
FROM awscc.qbusiness.web_experiences
WHERE
region = 'us-east-1' AND
Identifier = '{{ application_id }}|{{ web_experience_id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.qbusiness.web_experiences (
ApplicationId,
region
)
SELECT
'{{ application_id }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a web_experience resource, using stack-deploy.

/*+ update */
UPDATE awscc.qbusiness.web_experiences
SET PatchDocument = string('{{ {
"IdentityProviderConfiguration": identity_provider_configuration,
"RoleArn": role_arn,
"SamplePromptsControlMode": sample_prompts_control_mode,
"Subtitle": subtitle,
"Tags": tags,
"Title": title,
"WelcomeMessage": welcome_message,
"Origins": origins,
"CustomizationConfiguration": customization_configuration,
"BrowserExtensionConfiguration": browser_extension_configuration
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ application_id }}|{{ web_experience_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.qbusiness.web_experiences
WHERE
Identifier = '{{ application_id }}|{{ web_experience_id }}' AND
region = 'us-east-1';

Permissions

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

iam:PassRole,
qbusiness:CreateWebExperience,
qbusiness:GetWebExperience,
qbusiness:ListTagsForResource,
qbusiness:TagResource,
sso:PutApplicationGrant,
sso:UpdateApplication