Skip to main content

trust_store_revocations

Creates, updates, deletes, gets or lists a trust_store_revocations resource.

Overview

Nametrust_store_revocations
TypeResource
Idaws.elbv2.trust_store_revocations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
number_of_revoked_entriesintegerThe number of revoked certificates.
revocation_idintegerThe revocation ID of a revocation file in use.
revocation_typestringThe type of revocation file.
trust_store_arnstringThe Amazon Resource Name (ARN) of the trust store.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_trust_store_revocationsselectTrustStoreArn, regionRevocationIds, Marker, PageSizeDescribes the revocation files in use by the specified trust store or revocation files.
remove_trust_store_revocationsupdateTrustStoreArn, RevocationIds, regionRemoves the specified revocation file from the specified trust store.
add_trust_store_revocationsupdateTrustStoreArn, regionRevocationContentsAdds 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.

NameDatatypeDescription
RevocationIdsarrayThe revocation IDs of the revocation files you want to remove.
TrustStoreArnstringThe Amazon Resource Name (ARN) of the trust store.
regionstringAWS region (default: us-east-1)
MarkerstringThe marker for the next set of results. (You received this marker from a previous call.)
PageSizeintegerThe maximum number of results to return with this call.
RevocationContentsarrayThe revocation file to add.
RevocationIdsarrayThe revocation IDs of the revocation files you want to describe.

SELECT examples

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

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;