AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.rds.getOrderableDbInstance
Explore with Pulumi AI
Information about RDS orderable DB instances and valid parameter combinations.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.rds.getOrderableDbInstance({
    engine: "mysql",
    engineVersion: "5.7.22",
    licenseModel: "general-public-license",
    storageType: "standard",
    preferredInstanceClasses: [
        "db.r6.xlarge",
        "db.m4.large",
        "db.t3.small",
    ],
});
import pulumi
import pulumi_aws as aws
test = aws.rds.get_orderable_db_instance(engine="mysql",
    engine_version="5.7.22",
    license_model="general-public-license",
    storage_type="standard",
    preferred_instance_classes=[
        "db.r6.xlarge",
        "db.m4.large",
        "db.t3.small",
    ])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rds.GetOrderableDbInstance(ctx, &rds.GetOrderableDbInstanceArgs{
			Engine:        "mysql",
			EngineVersion: pulumi.StringRef("5.7.22"),
			LicenseModel:  pulumi.StringRef("general-public-license"),
			StorageType:   pulumi.StringRef("standard"),
			PreferredInstanceClasses: []string{
				"db.r6.xlarge",
				"db.m4.large",
				"db.t3.small",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = Aws.Rds.GetOrderableDbInstance.Invoke(new()
    {
        Engine = "mysql",
        EngineVersion = "5.7.22",
        LicenseModel = "general-public-license",
        StorageType = "standard",
        PreferredInstanceClasses = new[]
        {
            "db.r6.xlarge",
            "db.m4.large",
            "db.t3.small",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.RdsFunctions;
import com.pulumi.aws.rds.inputs.GetOrderableDbInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
            .engine("mysql")
            .engineVersion("5.7.22")
            .licenseModel("general-public-license")
            .storageType("standard")
            .preferredInstanceClasses(            
                "db.r6.xlarge",
                "db.m4.large",
                "db.t3.small")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:rds:getOrderableDbInstance
      arguments:
        engine: mysql
        engineVersion: 5.7.22
        licenseModel: general-public-license
        storageType: standard
        preferredInstanceClasses:
          - db.r6.xlarge
          - db.m4.large
          - db.t3.small
Valid parameter combinations can also be found with preferred_engine_versions and/or preferred_instance_classes.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.rds.getOrderableDbInstance({
    engine: "mysql",
    licenseModel: "general-public-license",
    preferredEngineVersions: [
        "5.6.35",
        "5.6.41",
        "5.6.44",
    ],
    preferredInstanceClasses: [
        "db.t2.small",
        "db.t3.medium",
        "db.t3.large",
    ],
});
import pulumi
import pulumi_aws as aws
test = aws.rds.get_orderable_db_instance(engine="mysql",
    license_model="general-public-license",
    preferred_engine_versions=[
        "5.6.35",
        "5.6.41",
        "5.6.44",
    ],
    preferred_instance_classes=[
        "db.t2.small",
        "db.t3.medium",
        "db.t3.large",
    ])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rds.GetOrderableDbInstance(ctx, &rds.GetOrderableDbInstanceArgs{
			Engine:       "mysql",
			LicenseModel: pulumi.StringRef("general-public-license"),
			PreferredEngineVersions: []string{
				"5.6.35",
				"5.6.41",
				"5.6.44",
			},
			PreferredInstanceClasses: []string{
				"db.t2.small",
				"db.t3.medium",
				"db.t3.large",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = Aws.Rds.GetOrderableDbInstance.Invoke(new()
    {
        Engine = "mysql",
        LicenseModel = "general-public-license",
        PreferredEngineVersions = new[]
        {
            "5.6.35",
            "5.6.41",
            "5.6.44",
        },
        PreferredInstanceClasses = new[]
        {
            "db.t2.small",
            "db.t3.medium",
            "db.t3.large",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.RdsFunctions;
import com.pulumi.aws.rds.inputs.GetOrderableDbInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = RdsFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
            .engine("mysql")
            .licenseModel("general-public-license")
            .preferredEngineVersions(            
                "5.6.35",
                "5.6.41",
                "5.6.44")
            .preferredInstanceClasses(            
                "db.t2.small",
                "db.t3.medium",
                "db.t3.large")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:rds:getOrderableDbInstance
      arguments:
        engine: mysql
        licenseModel: general-public-license
        preferredEngineVersions:
          - 5.6.35
          - 5.6.41
          - 5.6.44
        preferredInstanceClasses:
          - db.t2.small
          - db.t3.medium
          - db.t3.large
Using getOrderableDbInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOrderableDbInstance(args: GetOrderableDbInstanceArgs, opts?: InvokeOptions): Promise<GetOrderableDbInstanceResult>
function getOrderableDbInstanceOutput(args: GetOrderableDbInstanceOutputArgs, opts?: InvokeOptions): Output<GetOrderableDbInstanceResult>def get_orderable_db_instance(availability_zone_group: Optional[str] = None,
                              engine: Optional[str] = None,
                              engine_latest_version: Optional[bool] = None,
                              engine_version: Optional[str] = None,
                              instance_class: Optional[str] = None,
                              license_model: Optional[str] = None,
                              preferred_engine_versions: Optional[Sequence[str]] = None,
                              preferred_instance_classes: Optional[Sequence[str]] = None,
                              read_replica_capable: Optional[bool] = None,
                              storage_type: Optional[str] = None,
                              supported_engine_modes: Optional[Sequence[str]] = None,
                              supported_network_types: Optional[Sequence[str]] = None,
                              supports_clusters: Optional[bool] = None,
                              supports_enhanced_monitoring: Optional[bool] = None,
                              supports_global_databases: Optional[bool] = None,
                              supports_iam_database_authentication: Optional[bool] = None,
                              supports_iops: Optional[bool] = None,
                              supports_kerberos_authentication: Optional[bool] = None,
                              supports_multi_az: Optional[bool] = None,
                              supports_performance_insights: Optional[bool] = None,
                              supports_storage_autoscaling: Optional[bool] = None,
                              supports_storage_encryption: Optional[bool] = None,
                              vpc: Optional[bool] = None,
                              opts: Optional[InvokeOptions] = None) -> GetOrderableDbInstanceResult
def get_orderable_db_instance_output(availability_zone_group: Optional[pulumi.Input[str]] = None,
                              engine: Optional[pulumi.Input[str]] = None,
                              engine_latest_version: Optional[pulumi.Input[bool]] = None,
                              engine_version: Optional[pulumi.Input[str]] = None,
                              instance_class: Optional[pulumi.Input[str]] = None,
                              license_model: Optional[pulumi.Input[str]] = None,
                              preferred_engine_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              preferred_instance_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              read_replica_capable: Optional[pulumi.Input[bool]] = None,
                              storage_type: Optional[pulumi.Input[str]] = None,
                              supported_engine_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              supported_network_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              supports_clusters: Optional[pulumi.Input[bool]] = None,
                              supports_enhanced_monitoring: Optional[pulumi.Input[bool]] = None,
                              supports_global_databases: Optional[pulumi.Input[bool]] = None,
                              supports_iam_database_authentication: Optional[pulumi.Input[bool]] = None,
                              supports_iops: Optional[pulumi.Input[bool]] = None,
                              supports_kerberos_authentication: Optional[pulumi.Input[bool]] = None,
                              supports_multi_az: Optional[pulumi.Input[bool]] = None,
                              supports_performance_insights: Optional[pulumi.Input[bool]] = None,
                              supports_storage_autoscaling: Optional[pulumi.Input[bool]] = None,
                              supports_storage_encryption: Optional[pulumi.Input[bool]] = None,
                              vpc: Optional[pulumi.Input[bool]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetOrderableDbInstanceResult]func GetOrderableDbInstance(ctx *Context, args *GetOrderableDbInstanceArgs, opts ...InvokeOption) (*GetOrderableDbInstanceResult, error)
func GetOrderableDbInstanceOutput(ctx *Context, args *GetOrderableDbInstanceOutputArgs, opts ...InvokeOption) GetOrderableDbInstanceResultOutput> Note: This function is named GetOrderableDbInstance in the Go SDK.
public static class GetOrderableDbInstance 
{
    public static Task<GetOrderableDbInstanceResult> InvokeAsync(GetOrderableDbInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetOrderableDbInstanceResult> Invoke(GetOrderableDbInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrderableDbInstanceResult> getOrderableDbInstance(GetOrderableDbInstanceArgs args, InvokeOptions options)
public static Output<GetOrderableDbInstanceResult> getOrderableDbInstance(GetOrderableDbInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: aws:rds/getOrderableDbInstance:getOrderableDbInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Engine string
- DB engine. Engine values include aurora,aurora-mysql,aurora-postgresql,docdb,mariadb,mysql,neptune,oracle-ee,oracle-se,oracle-se1,oracle-se2,postgres,sqlserver-ee,sqlserver-ex,sqlserver-se, andsqlserver-web.
- AvailabilityZone stringGroup 
- Availability zone group.
- EngineLatest boolVersion 
- When set to true, the data source attempts to return the most recent version matching the other criteria you provide. You must useengine_latest_versionwithpreferred_instance_classesand/orpreferred_engine_versions. Usingengine_latest_versionwill avoidmultiple RDS DB Instance Classeserrors. If you useengine_latest_versionwithpreferred_instance_classes, the data source returns the latest version for the first matching instance class (instance class priority). Note: The data source uses a best-effort approach at selecting the latest version but due to the complexity of version identifiers across engines, usingengine_latest_versionmay not return the latest version in every situation.
- EngineVersion string
- Version of the DB engine. If none is provided, the data source tries to use the AWS-defined default version that matches any other criteria.
- InstanceClass string
- DB instance class. Examples of classes are db.m3.2xlarge,db.t2.small, anddb.m3.medium.
- LicenseModel string
- License model. Examples of license models are general-public-license,bring-your-own-license, andamazon-license.
- PreferredEngine List<string>Versions 
- Ordered list of preferred RDS DB instance engine versions. When engine_latest_versionis not set, the data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches withoutengine_latest_version, it returns an error. CAUTION: We don't recommend usingpreferred_engine_versionswithoutpreferred_instance_classessince the data source returns an arbitraryinstance_classbased on the first one AWS returns that matches the engine version and any other criteria.
- PreferredInstance List<string>Classes 
- Ordered list of preferred RDS DB instance classes. The data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches without engine_latest_version, it returns an error. If you usepreferred_instance_classeswithoutpreferred_engine_versionsorengine_latest_version, the data source returns an arbitraryengine_versionbased on the first one AWS returns matching the instance class and any other criteria.
- ReadReplica boolCapable 
- Whether a DB instance can have a read replica.
- StorageType string
- Storage types. Examples of storage types are standard,io1,gp2, andaurora.
- SupportedEngine List<string>Modes 
- Use to limit results to engine modes such as provisioned.
- SupportedNetwork List<string>Types 
- Use to limit results to network types IPV4orDUAL.
- SupportsClusters bool
- Whether to limit results to instances that support clusters.
- SupportsEnhanced boolMonitoring 
- Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- SupportsGlobal boolDatabases 
- Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- SupportsIam boolDatabase Authentication 
- Enable this to ensure a DB instance supports IAM database authentication.
- SupportsIops bool
- Enable this to ensure a DB instance supports provisioned IOPS.
- SupportsKerberos boolAuthentication 
- Enable this to ensure a DB instance supports Kerberos Authentication.
- SupportsMulti boolAz 
- Whether to limit results to instances that are multi-AZ capable.
- SupportsPerformance boolInsights 
- Enable this to ensure a DB instance supports Performance Insights.
- SupportsStorage boolAutoscaling 
- Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- SupportsStorage boolEncryption 
- Enable this to ensure a DB instance supports encrypted storage.
- Vpc bool
- Boolean that indicates whether to show only VPC or non-VPC offerings.
- Engine string
- DB engine. Engine values include aurora,aurora-mysql,aurora-postgresql,docdb,mariadb,mysql,neptune,oracle-ee,oracle-se,oracle-se1,oracle-se2,postgres,sqlserver-ee,sqlserver-ex,sqlserver-se, andsqlserver-web.
- AvailabilityZone stringGroup 
- Availability zone group.
- EngineLatest boolVersion 
- When set to true, the data source attempts to return the most recent version matching the other criteria you provide. You must useengine_latest_versionwithpreferred_instance_classesand/orpreferred_engine_versions. Usingengine_latest_versionwill avoidmultiple RDS DB Instance Classeserrors. If you useengine_latest_versionwithpreferred_instance_classes, the data source returns the latest version for the first matching instance class (instance class priority). Note: The data source uses a best-effort approach at selecting the latest version but due to the complexity of version identifiers across engines, usingengine_latest_versionmay not return the latest version in every situation.
- EngineVersion string
- Version of the DB engine. If none is provided, the data source tries to use the AWS-defined default version that matches any other criteria.
- InstanceClass string
- DB instance class. Examples of classes are db.m3.2xlarge,db.t2.small, anddb.m3.medium.
- LicenseModel string
- License model. Examples of license models are general-public-license,bring-your-own-license, andamazon-license.
- PreferredEngine []stringVersions 
- Ordered list of preferred RDS DB instance engine versions. When engine_latest_versionis not set, the data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches withoutengine_latest_version, it returns an error. CAUTION: We don't recommend usingpreferred_engine_versionswithoutpreferred_instance_classessince the data source returns an arbitraryinstance_classbased on the first one AWS returns that matches the engine version and any other criteria.
- PreferredInstance []stringClasses 
- Ordered list of preferred RDS DB instance classes. The data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches without engine_latest_version, it returns an error. If you usepreferred_instance_classeswithoutpreferred_engine_versionsorengine_latest_version, the data source returns an arbitraryengine_versionbased on the first one AWS returns matching the instance class and any other criteria.
- ReadReplica boolCapable 
- Whether a DB instance can have a read replica.
- StorageType string
- Storage types. Examples of storage types are standard,io1,gp2, andaurora.
- SupportedEngine []stringModes 
- Use to limit results to engine modes such as provisioned.
- SupportedNetwork []stringTypes 
- Use to limit results to network types IPV4orDUAL.
- SupportsClusters bool
- Whether to limit results to instances that support clusters.
- SupportsEnhanced boolMonitoring 
- Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- SupportsGlobal boolDatabases 
- Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- SupportsIam boolDatabase Authentication 
- Enable this to ensure a DB instance supports IAM database authentication.
- SupportsIops bool
- Enable this to ensure a DB instance supports provisioned IOPS.
- SupportsKerberos boolAuthentication 
- Enable this to ensure a DB instance supports Kerberos Authentication.
- SupportsMulti boolAz 
- Whether to limit results to instances that are multi-AZ capable.
- SupportsPerformance boolInsights 
- Enable this to ensure a DB instance supports Performance Insights.
- SupportsStorage boolAutoscaling 
- Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- SupportsStorage boolEncryption 
- Enable this to ensure a DB instance supports encrypted storage.
- Vpc bool
- Boolean that indicates whether to show only VPC or non-VPC offerings.
- engine String
- DB engine. Engine values include aurora,aurora-mysql,aurora-postgresql,docdb,mariadb,mysql,neptune,oracle-ee,oracle-se,oracle-se1,oracle-se2,postgres,sqlserver-ee,sqlserver-ex,sqlserver-se, andsqlserver-web.
- availabilityZone StringGroup 
- Availability zone group.
- engineLatest BooleanVersion 
- When set to true, the data source attempts to return the most recent version matching the other criteria you provide. You must useengine_latest_versionwithpreferred_instance_classesand/orpreferred_engine_versions. Usingengine_latest_versionwill avoidmultiple RDS DB Instance Classeserrors. If you useengine_latest_versionwithpreferred_instance_classes, the data source returns the latest version for the first matching instance class (instance class priority). Note: The data source uses a best-effort approach at selecting the latest version but due to the complexity of version identifiers across engines, usingengine_latest_versionmay not return the latest version in every situation.
- engineVersion String
- Version of the DB engine. If none is provided, the data source tries to use the AWS-defined default version that matches any other criteria.
- instanceClass String
- DB instance class. Examples of classes are db.m3.2xlarge,db.t2.small, anddb.m3.medium.
- licenseModel String
- License model. Examples of license models are general-public-license,bring-your-own-license, andamazon-license.
- preferredEngine List<String>Versions 
- Ordered list of preferred RDS DB instance engine versions. When engine_latest_versionis not set, the data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches withoutengine_latest_version, it returns an error. CAUTION: We don't recommend usingpreferred_engine_versionswithoutpreferred_instance_classessince the data source returns an arbitraryinstance_classbased on the first one AWS returns that matches the engine version and any other criteria.
- preferredInstance List<String>Classes 
- Ordered list of preferred RDS DB instance classes. The data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches without engine_latest_version, it returns an error. If you usepreferred_instance_classeswithoutpreferred_engine_versionsorengine_latest_version, the data source returns an arbitraryengine_versionbased on the first one AWS returns matching the instance class and any other criteria.
- readReplica BooleanCapable 
- Whether a DB instance can have a read replica.
- storageType String
- Storage types. Examples of storage types are standard,io1,gp2, andaurora.
- supportedEngine List<String>Modes 
- Use to limit results to engine modes such as provisioned.
- supportedNetwork List<String>Types 
- Use to limit results to network types IPV4orDUAL.
- supportsClusters Boolean
- Whether to limit results to instances that support clusters.
- supportsEnhanced BooleanMonitoring 
- Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supportsGlobal BooleanDatabases 
- Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- supportsIam BooleanDatabase Authentication 
- Enable this to ensure a DB instance supports IAM database authentication.
- supportsIops Boolean
- Enable this to ensure a DB instance supports provisioned IOPS.
- supportsKerberos BooleanAuthentication 
- Enable this to ensure a DB instance supports Kerberos Authentication.
- supportsMulti BooleanAz 
- Whether to limit results to instances that are multi-AZ capable.
- supportsPerformance BooleanInsights 
- Enable this to ensure a DB instance supports Performance Insights.
- supportsStorage BooleanAutoscaling 
- Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- supportsStorage BooleanEncryption 
- Enable this to ensure a DB instance supports encrypted storage.
- vpc Boolean
- Boolean that indicates whether to show only VPC or non-VPC offerings.
- engine string
- DB engine. Engine values include aurora,aurora-mysql,aurora-postgresql,docdb,mariadb,mysql,neptune,oracle-ee,oracle-se,oracle-se1,oracle-se2,postgres,sqlserver-ee,sqlserver-ex,sqlserver-se, andsqlserver-web.
- availabilityZone stringGroup 
- Availability zone group.
- engineLatest booleanVersion 
- When set to true, the data source attempts to return the most recent version matching the other criteria you provide. You must useengine_latest_versionwithpreferred_instance_classesand/orpreferred_engine_versions. Usingengine_latest_versionwill avoidmultiple RDS DB Instance Classeserrors. If you useengine_latest_versionwithpreferred_instance_classes, the data source returns the latest version for the first matching instance class (instance class priority). Note: The data source uses a best-effort approach at selecting the latest version but due to the complexity of version identifiers across engines, usingengine_latest_versionmay not return the latest version in every situation.
- engineVersion string
- Version of the DB engine. If none is provided, the data source tries to use the AWS-defined default version that matches any other criteria.
- instanceClass string
- DB instance class. Examples of classes are db.m3.2xlarge,db.t2.small, anddb.m3.medium.
- licenseModel string
- License model. Examples of license models are general-public-license,bring-your-own-license, andamazon-license.
- preferredEngine string[]Versions 
- Ordered list of preferred RDS DB instance engine versions. When engine_latest_versionis not set, the data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches withoutengine_latest_version, it returns an error. CAUTION: We don't recommend usingpreferred_engine_versionswithoutpreferred_instance_classessince the data source returns an arbitraryinstance_classbased on the first one AWS returns that matches the engine version and any other criteria.
- preferredInstance string[]Classes 
- Ordered list of preferred RDS DB instance classes. The data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches without engine_latest_version, it returns an error. If you usepreferred_instance_classeswithoutpreferred_engine_versionsorengine_latest_version, the data source returns an arbitraryengine_versionbased on the first one AWS returns matching the instance class and any other criteria.
- readReplica booleanCapable 
- Whether a DB instance can have a read replica.
- storageType string
- Storage types. Examples of storage types are standard,io1,gp2, andaurora.
- supportedEngine string[]Modes 
- Use to limit results to engine modes such as provisioned.
- supportedNetwork string[]Types 
- Use to limit results to network types IPV4orDUAL.
- supportsClusters boolean
- Whether to limit results to instances that support clusters.
- supportsEnhanced booleanMonitoring 
- Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supportsGlobal booleanDatabases 
- Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- supportsIam booleanDatabase Authentication 
- Enable this to ensure a DB instance supports IAM database authentication.
- supportsIops boolean
- Enable this to ensure a DB instance supports provisioned IOPS.
- supportsKerberos booleanAuthentication 
- Enable this to ensure a DB instance supports Kerberos Authentication.
- supportsMulti booleanAz 
- Whether to limit results to instances that are multi-AZ capable.
- supportsPerformance booleanInsights 
- Enable this to ensure a DB instance supports Performance Insights.
- supportsStorage booleanAutoscaling 
- Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- supportsStorage booleanEncryption 
- Enable this to ensure a DB instance supports encrypted storage.
- vpc boolean
- Boolean that indicates whether to show only VPC or non-VPC offerings.
- engine str
- DB engine. Engine values include aurora,aurora-mysql,aurora-postgresql,docdb,mariadb,mysql,neptune,oracle-ee,oracle-se,oracle-se1,oracle-se2,postgres,sqlserver-ee,sqlserver-ex,sqlserver-se, andsqlserver-web.
- availability_zone_ strgroup 
- Availability zone group.
- engine_latest_ boolversion 
- When set to true, the data source attempts to return the most recent version matching the other criteria you provide. You must useengine_latest_versionwithpreferred_instance_classesand/orpreferred_engine_versions. Usingengine_latest_versionwill avoidmultiple RDS DB Instance Classeserrors. If you useengine_latest_versionwithpreferred_instance_classes, the data source returns the latest version for the first matching instance class (instance class priority). Note: The data source uses a best-effort approach at selecting the latest version but due to the complexity of version identifiers across engines, usingengine_latest_versionmay not return the latest version in every situation.
- engine_version str
- Version of the DB engine. If none is provided, the data source tries to use the AWS-defined default version that matches any other criteria.
- instance_class str
- DB instance class. Examples of classes are db.m3.2xlarge,db.t2.small, anddb.m3.medium.
- license_model str
- License model. Examples of license models are general-public-license,bring-your-own-license, andamazon-license.
- preferred_engine_ Sequence[str]versions 
- Ordered list of preferred RDS DB instance engine versions. When engine_latest_versionis not set, the data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches withoutengine_latest_version, it returns an error. CAUTION: We don't recommend usingpreferred_engine_versionswithoutpreferred_instance_classessince the data source returns an arbitraryinstance_classbased on the first one AWS returns that matches the engine version and any other criteria.
- preferred_instance_ Sequence[str]classes 
- Ordered list of preferred RDS DB instance classes. The data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches without engine_latest_version, it returns an error. If you usepreferred_instance_classeswithoutpreferred_engine_versionsorengine_latest_version, the data source returns an arbitraryengine_versionbased on the first one AWS returns matching the instance class and any other criteria.
- read_replica_ boolcapable 
- Whether a DB instance can have a read replica.
- storage_type str
- Storage types. Examples of storage types are standard,io1,gp2, andaurora.
- supported_engine_ Sequence[str]modes 
- Use to limit results to engine modes such as provisioned.
- supported_network_ Sequence[str]types 
- Use to limit results to network types IPV4orDUAL.
- supports_clusters bool
- Whether to limit results to instances that support clusters.
- supports_enhanced_ boolmonitoring 
- Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports_global_ booldatabases 
- Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- supports_iam_ booldatabase_ authentication 
- Enable this to ensure a DB instance supports IAM database authentication.
- supports_iops bool
- Enable this to ensure a DB instance supports provisioned IOPS.
- supports_kerberos_ boolauthentication 
- Enable this to ensure a DB instance supports Kerberos Authentication.
- supports_multi_ boolaz 
- Whether to limit results to instances that are multi-AZ capable.
- supports_performance_ boolinsights 
- Enable this to ensure a DB instance supports Performance Insights.
- supports_storage_ boolautoscaling 
- Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- supports_storage_ boolencryption 
- Enable this to ensure a DB instance supports encrypted storage.
- vpc bool
- Boolean that indicates whether to show only VPC or non-VPC offerings.
- engine String
- DB engine. Engine values include aurora,aurora-mysql,aurora-postgresql,docdb,mariadb,mysql,neptune,oracle-ee,oracle-se,oracle-se1,oracle-se2,postgres,sqlserver-ee,sqlserver-ex,sqlserver-se, andsqlserver-web.
- availabilityZone StringGroup 
- Availability zone group.
- engineLatest BooleanVersion 
- When set to true, the data source attempts to return the most recent version matching the other criteria you provide. You must useengine_latest_versionwithpreferred_instance_classesand/orpreferred_engine_versions. Usingengine_latest_versionwill avoidmultiple RDS DB Instance Classeserrors. If you useengine_latest_versionwithpreferred_instance_classes, the data source returns the latest version for the first matching instance class (instance class priority). Note: The data source uses a best-effort approach at selecting the latest version but due to the complexity of version identifiers across engines, usingengine_latest_versionmay not return the latest version in every situation.
- engineVersion String
- Version of the DB engine. If none is provided, the data source tries to use the AWS-defined default version that matches any other criteria.
- instanceClass String
- DB instance class. Examples of classes are db.m3.2xlarge,db.t2.small, anddb.m3.medium.
- licenseModel String
- License model. Examples of license models are general-public-license,bring-your-own-license, andamazon-license.
- preferredEngine List<String>Versions 
- Ordered list of preferred RDS DB instance engine versions. When engine_latest_versionis not set, the data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches withoutengine_latest_version, it returns an error. CAUTION: We don't recommend usingpreferred_engine_versionswithoutpreferred_instance_classessince the data source returns an arbitraryinstance_classbased on the first one AWS returns that matches the engine version and any other criteria.
- preferredInstance List<String>Classes 
- Ordered list of preferred RDS DB instance classes. The data source will return the first match in this list that matches any other criteria. If the data source finds no preferred matches or multiple matches without engine_latest_version, it returns an error. If you usepreferred_instance_classeswithoutpreferred_engine_versionsorengine_latest_version, the data source returns an arbitraryengine_versionbased on the first one AWS returns matching the instance class and any other criteria.
- readReplica BooleanCapable 
- Whether a DB instance can have a read replica.
- storageType String
- Storage types. Examples of storage types are standard,io1,gp2, andaurora.
- supportedEngine List<String>Modes 
- Use to limit results to engine modes such as provisioned.
- supportedNetwork List<String>Types 
- Use to limit results to network types IPV4orDUAL.
- supportsClusters Boolean
- Whether to limit results to instances that support clusters.
- supportsEnhanced BooleanMonitoring 
- Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supportsGlobal BooleanDatabases 
- Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- supportsIam BooleanDatabase Authentication 
- Enable this to ensure a DB instance supports IAM database authentication.
- supportsIops Boolean
- Enable this to ensure a DB instance supports provisioned IOPS.
- supportsKerberos BooleanAuthentication 
- Enable this to ensure a DB instance supports Kerberos Authentication.
- supportsMulti BooleanAz 
- Whether to limit results to instances that are multi-AZ capable.
- supportsPerformance BooleanInsights 
- Enable this to ensure a DB instance supports Performance Insights.
- supportsStorage BooleanAutoscaling 
- Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- supportsStorage BooleanEncryption 
- Enable this to ensure a DB instance supports encrypted storage.
- vpc Boolean
- Boolean that indicates whether to show only VPC or non-VPC offerings.
getOrderableDbInstance Result
The following output properties are available:
- AvailabilityZone stringGroup 
- AvailabilityZones List<string>
- Availability zones where the instance is available.
- Engine string
- EngineVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceClass string
- LicenseModel string
- MaxIops intPer Db Instance 
- Maximum total provisioned IOPS for a DB instance.
- MaxIops doublePer Gib 
- Maximum provisioned IOPS per GiB for a DB instance.
- MaxStorage intSize 
- Maximum storage size for a DB instance.
- MinIops intPer Db Instance 
- Minimum total provisioned IOPS for a DB instance.
- MinIops doublePer Gib 
- Minimum provisioned IOPS per GiB for a DB instance.
- MinStorage intSize 
- Minimum storage size for a DB instance.
- MultiAz boolCapable 
- Whether a DB instance is Multi-AZ capable.
- OutpostCapable bool
- Whether a DB instance supports RDS on Outposts.
- ReadReplica boolCapable 
- StorageType string
- SupportedEngine List<string>Modes 
- SupportedNetwork List<string>Types 
- SupportsClusters bool
- SupportsEnhanced boolMonitoring 
- SupportsGlobal boolDatabases 
- SupportsIam boolDatabase Authentication 
- SupportsIops bool
- SupportsKerberos boolAuthentication 
- SupportsMulti boolAz 
- SupportsPerformance boolInsights 
- SupportsStorage boolAutoscaling 
- SupportsStorage boolEncryption 
- Vpc bool
- EngineLatest boolVersion 
- PreferredEngine List<string>Versions 
- PreferredInstance List<string>Classes 
- AvailabilityZone stringGroup 
- AvailabilityZones []string
- Availability zones where the instance is available.
- Engine string
- EngineVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceClass string
- LicenseModel string
- MaxIops intPer Db Instance 
- Maximum total provisioned IOPS for a DB instance.
- MaxIops float64Per Gib 
- Maximum provisioned IOPS per GiB for a DB instance.
- MaxStorage intSize 
- Maximum storage size for a DB instance.
- MinIops intPer Db Instance 
- Minimum total provisioned IOPS for a DB instance.
- MinIops float64Per Gib 
- Minimum provisioned IOPS per GiB for a DB instance.
- MinStorage intSize 
- Minimum storage size for a DB instance.
- MultiAz boolCapable 
- Whether a DB instance is Multi-AZ capable.
- OutpostCapable bool
- Whether a DB instance supports RDS on Outposts.
- ReadReplica boolCapable 
- StorageType string
- SupportedEngine []stringModes 
- SupportedNetwork []stringTypes 
- SupportsClusters bool
- SupportsEnhanced boolMonitoring 
- SupportsGlobal boolDatabases 
- SupportsIam boolDatabase Authentication 
- SupportsIops bool
- SupportsKerberos boolAuthentication 
- SupportsMulti boolAz 
- SupportsPerformance boolInsights 
- SupportsStorage boolAutoscaling 
- SupportsStorage boolEncryption 
- Vpc bool
- EngineLatest boolVersion 
- PreferredEngine []stringVersions 
- PreferredInstance []stringClasses 
- availabilityZone StringGroup 
- availabilityZones List<String>
- Availability zones where the instance is available.
- engine String
- engineVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceClass String
- licenseModel String
- maxIops IntegerPer Db Instance 
- Maximum total provisioned IOPS for a DB instance.
- maxIops DoublePer Gib 
- Maximum provisioned IOPS per GiB for a DB instance.
- maxStorage IntegerSize 
- Maximum storage size for a DB instance.
- minIops IntegerPer Db Instance 
- Minimum total provisioned IOPS for a DB instance.
- minIops DoublePer Gib 
- Minimum provisioned IOPS per GiB for a DB instance.
- minStorage IntegerSize 
- Minimum storage size for a DB instance.
- multiAz BooleanCapable 
- Whether a DB instance is Multi-AZ capable.
- outpostCapable Boolean
- Whether a DB instance supports RDS on Outposts.
- readReplica BooleanCapable 
- storageType String
- supportedEngine List<String>Modes 
- supportedNetwork List<String>Types 
- supportsClusters Boolean
- supportsEnhanced BooleanMonitoring 
- supportsGlobal BooleanDatabases 
- supportsIam BooleanDatabase Authentication 
- supportsIops Boolean
- supportsKerberos BooleanAuthentication 
- supportsMulti BooleanAz 
- supportsPerformance BooleanInsights 
- supportsStorage BooleanAutoscaling 
- supportsStorage BooleanEncryption 
- vpc Boolean
- engineLatest BooleanVersion 
- preferredEngine List<String>Versions 
- preferredInstance List<String>Classes 
- availabilityZone stringGroup 
- availabilityZones string[]
- Availability zones where the instance is available.
- engine string
- engineVersion string
- id string
- The provider-assigned unique ID for this managed resource.
- instanceClass string
- licenseModel string
- maxIops numberPer Db Instance 
- Maximum total provisioned IOPS for a DB instance.
- maxIops numberPer Gib 
- Maximum provisioned IOPS per GiB for a DB instance.
- maxStorage numberSize 
- Maximum storage size for a DB instance.
- minIops numberPer Db Instance 
- Minimum total provisioned IOPS for a DB instance.
- minIops numberPer Gib 
- Minimum provisioned IOPS per GiB for a DB instance.
- minStorage numberSize 
- Minimum storage size for a DB instance.
- multiAz booleanCapable 
- Whether a DB instance is Multi-AZ capable.
- outpostCapable boolean
- Whether a DB instance supports RDS on Outposts.
- readReplica booleanCapable 
- storageType string
- supportedEngine string[]Modes 
- supportedNetwork string[]Types 
- supportsClusters boolean
- supportsEnhanced booleanMonitoring 
- supportsGlobal booleanDatabases 
- supportsIam booleanDatabase Authentication 
- supportsIops boolean
- supportsKerberos booleanAuthentication 
- supportsMulti booleanAz 
- supportsPerformance booleanInsights 
- supportsStorage booleanAutoscaling 
- supportsStorage booleanEncryption 
- vpc boolean
- engineLatest booleanVersion 
- preferredEngine string[]Versions 
- preferredInstance string[]Classes 
- availability_zone_ strgroup 
- availability_zones Sequence[str]
- Availability zones where the instance is available.
- engine str
- engine_version str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_class str
- license_model str
- max_iops_ intper_ db_ instance 
- Maximum total provisioned IOPS for a DB instance.
- max_iops_ floatper_ gib 
- Maximum provisioned IOPS per GiB for a DB instance.
- max_storage_ intsize 
- Maximum storage size for a DB instance.
- min_iops_ intper_ db_ instance 
- Minimum total provisioned IOPS for a DB instance.
- min_iops_ floatper_ gib 
- Minimum provisioned IOPS per GiB for a DB instance.
- min_storage_ intsize 
- Minimum storage size for a DB instance.
- multi_az_ boolcapable 
- Whether a DB instance is Multi-AZ capable.
- outpost_capable bool
- Whether a DB instance supports RDS on Outposts.
- read_replica_ boolcapable 
- storage_type str
- supported_engine_ Sequence[str]modes 
- supported_network_ Sequence[str]types 
- supports_clusters bool
- supports_enhanced_ boolmonitoring 
- supports_global_ booldatabases 
- supports_iam_ booldatabase_ authentication 
- supports_iops bool
- supports_kerberos_ boolauthentication 
- supports_multi_ boolaz 
- supports_performance_ boolinsights 
- supports_storage_ boolautoscaling 
- supports_storage_ boolencryption 
- vpc bool
- engine_latest_ boolversion 
- preferred_engine_ Sequence[str]versions 
- preferred_instance_ Sequence[str]classes 
- availabilityZone StringGroup 
- availabilityZones List<String>
- Availability zones where the instance is available.
- engine String
- engineVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceClass String
- licenseModel String
- maxIops NumberPer Db Instance 
- Maximum total provisioned IOPS for a DB instance.
- maxIops NumberPer Gib 
- Maximum provisioned IOPS per GiB for a DB instance.
- maxStorage NumberSize 
- Maximum storage size for a DB instance.
- minIops NumberPer Db Instance 
- Minimum total provisioned IOPS for a DB instance.
- minIops NumberPer Gib 
- Minimum provisioned IOPS per GiB for a DB instance.
- minStorage NumberSize 
- Minimum storage size for a DB instance.
- multiAz BooleanCapable 
- Whether a DB instance is Multi-AZ capable.
- outpostCapable Boolean
- Whether a DB instance supports RDS on Outposts.
- readReplica BooleanCapable 
- storageType String
- supportedEngine List<String>Modes 
- supportedNetwork List<String>Types 
- supportsClusters Boolean
- supportsEnhanced BooleanMonitoring 
- supportsGlobal BooleanDatabases 
- supportsIam BooleanDatabase Authentication 
- supportsIops Boolean
- supportsKerberos BooleanAuthentication 
- supportsMulti BooleanAz 
- supportsPerformance BooleanInsights 
- supportsStorage BooleanAutoscaling 
- supportsStorage BooleanEncryption 
- vpc Boolean
- engineLatest BooleanVersion 
- preferredEngine List<String>Versions 
- preferredInstance List<String>Classes 
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.