Skip to main content

db_engine_versions

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

Overview

Namedb_engine_versions
TypeResource
Idaws.docdb.db_engine_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
db_engine_descriptionstringThe description of the database engine.
db_engine_version_descriptionstringThe description of the database engine version.
db_parameter_group_familystringThe name of the parameter group family for the database engine.
enginestringThe name of the database engine.
engine_versionstringThe version number of the database engine.
exportable_log_typesstringThe types of logs that the database engine has available for export to Amazon CloudWatch Logs.
serverless_v2_features_supportstringSpecifies any Amazon DocumentDB Serverless properties or limits that differ between Amazon DocumentDB engine versions. You can test the values of this attribute when deciding which Amazon DocumentDB version to use in a new or upgraded cluster. You can also retrieve the version of an existing cluster and check whether that version supports certain Amazon DocumentDB Serverless features before you attempt to use those features.
supported_ca_certificate_identifiersstringA list of the supported CA certificate identifiers. For more information, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide.
supports_certificate_rotation_without_restartbooleanIndicates whether the engine version supports rotating the server certificate without rebooting the DB instance.
supports_log_exports_to_cloudwatch_logsbooleanA value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs.
valid_upgrade_targetstringA list of engine versions that this database engine version can be upgraded to.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_db_engine_versionsselectregionEngine, EngineVersion, DBParameterGroupFamily, Filters, MaxRecords, Marker, DefaultOnly, ListSupportedCharacterSets, ListSupportedTimezonesReturns a list of the available engines.

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
regionstringAWS region (default: us-east-1)
DBParameterGroupFamilystringThe name of a specific parameter group family to return details for. Constraints: If provided, must match an existing DBParameterGroupFamily.
DefaultOnlybooleanIndicates that only the default version of the specified engine or engine and major version combination is returned.
EnginestringThe database engine to return.
EngineVersionstringThe database engine version to return. Example: 3.6.0
FiltersarrayThis parameter is not currently supported.
ListSupportedCharacterSetsbooleanIf this parameter is specified and the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version.
ListSupportedTimezonesbooleanIf this parameter is specified and the requested engine supports the TimeZone parameter for CreateDBInstance, the response includes a list of supported time zones for each engine version.
MarkerstringAn optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
MaxRecordsintegerThe maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.

SELECT examples

Returns a list of the available engines.

SELECT
db_engine_description,
db_engine_version_description,
db_parameter_group_family,
engine,
engine_version,
exportable_log_types,
serverless_v2_features_support,
supported_ca_certificate_identifiers,
supports_certificate_rotation_without_restart,
supports_log_exports_to_cloudwatch_logs,
valid_upgrade_target
FROM aws.docdb.db_engine_versions
WHERE region = '{{ region }}' -- required
AND Engine = '{{ Engine }}'
AND EngineVersion = '{{ EngineVersion }}'
AND DBParameterGroupFamily = '{{ DBParameterGroupFamily }}'
AND Filters = '{{ Filters }}'
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
AND DefaultOnly = '{{ DefaultOnly }}'
AND ListSupportedCharacterSets = '{{ ListSupportedCharacterSets }}'
AND ListSupportedTimezones = '{{ ListSupportedTimezones }}'
;