Skip to main content

certificates

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

Overview

Namecertificates
TypeResource
Idaws.rtbfabric.certificates

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
associate_certificateupdategateway_id, region, acmCertificateArn, clientTokenAssociates an ACM certificate with a responder gateway.
disassociate_certificateupdategateway_id, acmCertificateArn, regionRemoves a certificate association from a responder gateway.

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
acmCertificateArnstringThe Amazon Resource Name (ARN) of the ACM certificate to disassociate.
gateway_idstringThe unique identifier of the gateway.
regionstringAWS region (default: us-east-1)

UPDATE examples

Associates an ACM certificate with a responder gateway.

UPDATE aws.rtbfabric.certificates
SET
acmCertificateArn = '{{ acmCertificateArn }}',
clientToken = '{{ clientToken }}'
WHERE
gateway_id = '{{ gateway_id }}' --required
AND region = '{{ region }}' --required
AND acmCertificateArn = '{{ acmCertificateArn }}' --required
AND clientToken = '{{ clientToken }}' --required
RETURNING
acm_certificate_arn,
gateway_id,
status;