Skip to content

Data Source: awsDocdbOrderableDbInstance

Information about DocumentDB orderable DB instances.

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.dataAwsDocdbOrderableDbInstance.DataAwsDocdbOrderableDbInstance(
  this,
  "test",
  {
    engine: "docdb",
    engineVersion: "3.6.0",
    licenseModel: "na",
    preferredInstanceClasses: ["db.r5.large", "db.r4.large", "db.t3.medium"],
  }
);

Argument Reference

The following arguments are supported:

  • engine - (Optional) DB engine. Default: docdb
  • engineVersion - (Optional) Version of the DB engine.
  • instanceClass - (Optional) DB instance class. Examples of classes are dbR512Xlarge, dbR524Xlarge, dbR52Xlarge, dbR54Xlarge, dbR5Large, dbR5Xlarge, and dbT3Medium. (Conflicts with preferredInstanceClasses.)
  • licenseModel - (Optional) License model. Default: na
  • preferredInstanceClasses - (Optional) Ordered list of preferred DocumentDB DB instance classes. 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. (Conflicts with instanceClass.)
  • vpc - (Optional) Enable to show only VPC.

Attribute Reference

In addition to all arguments above, the following attribute is exported:

  • availabilityZones - Availability zones where the instance is available.