trust_store_revocations
Creates, updates, deletes, gets or lists a trust_store_revocations resource.
Overview
| Name | trust_store_revocations |
| Type | Resource |
| Id | aws.elbv2.trust_store_revocations |
Fields
The following fields are returned by SELECT queries:
- describe_trust_store_revocations
| Name | Datatype | Description |
|---|---|---|
number_of_revoked_entries | integer | The number of revoked certificates. |
revocation_id | integer | The revocation ID of a revocation file in use. |
revocation_type | string | The type of revocation file. |
trust_store_arn | string | The Amazon Resource Name (ARN) of the trust store. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_trust_store_revocations | select | TrustStoreArn, region | RevocationIds, Marker, PageSize | Describes the revocation files in use by the specified trust store or revocation files. |
remove_trust_store_revocations | update | TrustStoreArn, RevocationIds, region | Removes the specified revocation file from the specified trust store. | |
add_trust_store_revocations | update | TrustStoreArn, region | RevocationContents | Adds the specified revocation file to the specified trust store. |
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 |
|---|---|---|
RevocationIds | array | The revocation IDs of the revocation files you want to remove. |
TrustStoreArn | string | The Amazon Resource Name (ARN) of the trust store. |
region | string | AWS region (default: us-east-1) |
Marker | string | The marker for the next set of results. (You received this marker from a previous call.) |
PageSize | integer | The maximum number of results to return with this call. |
RevocationContents | array | The revocation file to add. |
RevocationIds | array | The revocation IDs of the revocation files you want to describe. |
SELECT examples
- describe_trust_store_revocations
Describes the revocation files in use by the specified trust store or revocation files.
SELECT
number_of_revoked_entries,
revocation_id,
revocation_type,
trust_store_arn
FROM aws.elbv2.trust_store_revocations
WHERE TrustStoreArn = '{{ TrustStoreArn }}' -- required
AND region = '{{ region }}' -- required
AND RevocationIds = '{{ RevocationIds }}'
AND Marker = '{{ Marker }}'
AND PageSize = '{{ PageSize }}'
;
UPDATE examples
- remove_trust_store_revocations
- add_trust_store_revocations
Removes the specified revocation file from the specified trust store.
UPDATE aws.elbv2.trust_store_revocations
SET
-- No updatable properties
WHERE
TrustStoreArn = '{{ TrustStoreArn }}' --required
AND RevocationIds = '{{ RevocationIds }}' --required
AND region = '{{ region }}' --required
RETURNING
line_items;
Adds the specified revocation file to the specified trust store.
UPDATE aws.elbv2.trust_store_revocations
SET
-- No updatable properties
WHERE
TrustStoreArn = '{{ TrustStoreArn }}' --required
AND region = '{{ region }}' --required
AND RevocationContents = '{{ RevocationContents}}'
RETURNING
number_of_revoked_entries,
revocation_id,
revocation_type,
trust_store_arn;