Skip to main content

trust_stores

Creates, updates, deletes or gets a trust_store resource or lists trust_stores in a region

Overview

Nametrust_stores
TypeResource
DescriptionDefinition of AWS::WorkSpacesWeb::TrustStore Resource Type
Idawscc.workspacesweb.trust_stores

Fields

NameDatatypeDescription
associated_portal_arnsarray
certificate_listarray
tagsarray
trust_store_arnstring
regionstringAWS region.

For more information, see AWS::WorkSpacesWeb::TrustStore.

Methods

NameResourceAccessible byRequired Params
create_resourcetrust_storesINSERTCertificateList, region
delete_resourcetrust_storesDELETEIdentifier, region
update_resourcetrust_storesUPDATEIdentifier, PatchDocument, region
list_resourcestrust_stores_list_onlySELECTregion
get_resourcetrust_storesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual trust_store.

SELECT
region,
associated_portal_arns,
certificate_list,
tags,
trust_store_arn
FROM awscc.workspacesweb.trust_stores
WHERE
region = 'us-east-1' AND
Identifier = '{{ trust_store_arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.workspacesweb.trust_stores (
CertificateList,
region
)
SELECT
'{{ certificate_list }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.workspacesweb.trust_stores
SET PatchDocument = string('{{ {
"CertificateList": certificate_list,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ trust_store_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.workspacesweb.trust_stores
WHERE
Identifier = '{{ trust_store_arn }}' AND
region = 'us-east-1';

Permissions

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

workspaces-web:CreateTrustStore,
workspaces-web:GetTrustStore,
workspaces-web:GetTrustStoreCertificate,
workspaces-web:ListTrustStoreCertificates,
workspaces-web:ListTagsForResource,
workspaces-web:TagResource