Skip to main content

certificate_associations

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

Overview

Namecertificate_associations
TypeResource
Idaws.rtbfabric.certificate_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
acm_certificate_arnstringThe Amazon Resource Name (ARN) of the ACM certificate. (pattern: <code>arn:(aws|aws-cn|aws-us-gov):acm:[a-z0-9-]+:[0-9]{12}:certificate/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
associated_atstring (date-time)The timestamp of when the certificate was associated.
gateway_idstringThe unique identifier of the gateway. (pattern: <code>rtb-gw-[a-z0-9-]{1,25}</code>)
statusstringThe status of the certificate association. (PENDING_ASSOCIATION, ASSOCIATED, PENDING_DISASSOCIATION, DISASSOCIATED, FAILED)
updated_atstring (date-time)The timestamp of when the certificate association was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_certificate_associationselectgateway_id, acmCertificateArn, regionRetrieves the details of a certificate association with a responder gateway.
list_certificate_associationsselectgateway_id, regionnextToken, maxResultsLists the certificate associations for 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.
gateway_idstringThe unique identifier of the gateway.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
nextTokenstringIf nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

SELECT examples

Retrieves the details of a certificate association with a responder gateway.

SELECT
acm_certificate_arn,
associated_at,
gateway_id,
status,
updated_at
FROM aws.rtbfabric.certificate_associations
WHERE gateway_id = '{{ gateway_id }}' -- required
AND acmCertificateArn = '{{ acmCertificateArn }}' -- required
AND region = '{{ region }}' -- required
;