trust_store_certificates
Creates, updates, deletes, gets or lists a trust_store_certificates resource.
Overview
| Name | trust_store_certificates |
| Type | Resource |
| Id | aws.workspaces_web.trust_store_certificates |
Fields
The following fields are returned by SELECT queries:
- get_trust_store_certificate
- list_trust_store_certificates
| Name | Datatype | Description |
|---|---|---|
certificate | object | The certificate of the trust store certificate. |
trust_store_arn | string | The ARN of the trust store certificate. (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>) |
| Name | Datatype | Description |
|---|---|---|
certificate_list | array | The certificate list. |
next_token | string | The pagination token used to retrieve the next page of results for this operation.> (pattern: <code>\S+</code>) |
trust_store_arn | string | The ARN of the trust store. (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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_trust_store_certificate | select | trust_store_arn, thumbprint, region | Gets the trust store certificate. | |
list_trust_store_certificates | select | trust_store_arn, region | nextToken, maxResults | Retrieves a list of trust store certificates. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
thumbprint | string | The thumbprint of the trust store certificate. |
trust_store_arn | string | The ARN of the trust store |
maxResults | integer | The maximum number of results to be included in the next page. |
nextToken | string | The pagination token used to retrieve the next page of results for this operation. |
SELECT examples
- get_trust_store_certificate
- list_trust_store_certificates
Gets the trust store certificate.
SELECT
certificate,
trust_store_arn
FROM aws.workspaces_web.trust_store_certificates
WHERE trust_store_arn = '{{ trust_store_arn }}' -- required
AND thumbprint = '{{ thumbprint }}' -- required
AND region = '{{ region }}' -- required
;
Retrieves a list of trust store certificates.
SELECT
certificate_list,
next_token,
trust_store_arn
FROM aws.workspaces_web.trust_store_certificates
WHERE trust_store_arn = '{{ trust_store_arn }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;