certificates
Creates, updates, deletes, gets or lists a certificates resource.
Overview
| Name | certificates |
| Type | Resource |
| Id | aws.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
associate_certificate | update | gateway_id, region, acmCertificateArn, clientToken | Associates an ACM certificate with a responder gateway. | |
disassociate_certificate | update | gateway_id, acmCertificateArn, region | Removes 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.
| Name | Datatype | Description |
|---|---|---|
acmCertificateArn | string | The Amazon Resource Name (ARN) of the ACM certificate to disassociate. |
gateway_id | string | The unique identifier of the gateway. |
region | string | AWS region (default: us-east-1) |
UPDATE examples
- associate_certificate
- disassociate_certificate
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;
Removes a certificate association from a responder gateway.
UPDATE aws.rtbfabric.certificates
SET
-- No updatable properties
WHERE
gateway_id = '{{ gateway_id }}' --required
AND acmCertificateArn = '{{ acmCertificateArn }}' --required
AND region = '{{ region }}' --required
RETURNING
acm_certificate_arn,
gateway_id,
status;