Skip to main content

configuration_revisions

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

Overview

Nameconfiguration_revisions
TypeResource
Idaws.mq.configuration_revisions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
configuration_idstringRequired. The unique ID that Amazon MQ generates for the configuration.
createdstring (date-time)Required. The date and time of the configuration.
datastringAmazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for RabbitMQ: base64-encoded Cuttlefish.
descriptionstringThe description of the configuration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_configuration_revisionselectconfiguration-id, configuration-revision, regionReturns the specified configuration revision for the specified configuration.
list_configuration_revisionsselectconfiguration-id, regionmaxResults, nextTokenReturns a list of all revisions for the specified configuration.

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
configuration-idstringThe unique ID that Amazon MQ generates for the configuration.
configuration-revisionstringThe revision of the configuration.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
nextTokenstringThe token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

SELECT examples

Returns the specified configuration revision for the specified configuration.

SELECT
configuration_id,
created,
data,
description
FROM aws.mq.configuration_revisions
WHERE `configuration-id` = '{{ configuration-id }}' -- required
AND `configuration-revision` = '{{ configuration-revision }}' -- required
AND region = '{{ region }}' -- required
;