Skip to content

Data Source: awsDocdbEngineVersion

Information about a DocumentDB engine version.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsDocdbEngineVersion.DataAwsDocdbEngineVersion(this, "test", {
  version: "3.6.0",
});

Argument Reference

The following arguments are supported:

  • engine - (Optional) DB engine. (Default: docdb)
  • parameterGroupFamily - (Optional) Name of a specific DB parameter group family. An example parameter group family is docdb36.
  • preferredVersions - (Optional) Ordered list of preferred engine versions. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned. If both the version and preferredVersions arguments are not configured, the data source will return the default version for the engine.
  • version - (Optional) Version of the DB engine. For example, 360. If version and preferredVersions are not set, the data source will provide information for the AWS-defined default version. If both the version and preferredVersions arguments are not configured, the data source will return the default version for the engine.

Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • engineDescription - Description of the database engine.
  • exportableLogTypes - Set of log types that the database engine has available for export to CloudWatch Logs.
  • supportsLogExportsToCloudwatch - Indicates whether the engine version supports exporting the log types specified by exportableLogTypes to CloudWatch Logs.
  • validUpgradeTargets - A set of engine versions that this database engine version can be upgraded to.
  • versionDescription - Description of the database engine version.