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
Idaws.workspacesweb.trust_stores

Fields

NameDatatypeDescription
associated_portal_arnsarray
certificate_listarray
tagsarray
trust_store_arnstring
regionstringAWS region.

Methods

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

SELECT examples

Gets all trust_stores in a region.

SELECT
region,
associated_portal_arns,
certificate_list,
tags,
trust_store_arn
FROM aws.workspacesweb.trust_stores
WHERE region = 'us-east-1';

Gets all properties from an individual trust_store.

SELECT
region,
associated_portal_arns,
certificate_list,
tags,
trust_store_arn
FROM aws.workspacesweb.trust_stores
WHERE region = 'us-east-1' AND data__Identifier = '<TrustStoreArn>';

INSERT example

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

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

DELETE example

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

Permissions

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

Create

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

Read

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

Update

workspaces-web:UpdateTrustStore,
workspaces-web:TagResource,
workspaces-web:UntagResource,
workspaces-web:GetTrustStore,
workspaces-web:GetTrustStoreCertificate,
workspaces-web:ListTagsForResource,
workspaces-web:ListTrustStoreCertificates

Delete

workspaces-web:GetTrustStore,
workspaces-web:GetTrustStoreCertificate,
workspaces-web:DeleteTrustStore

List

workspaces-web:ListTrustStores,
workspaces-web:ListTrustStoreCertificates