AWS v6.60.0 published on Tuesday, Nov 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:rds/getOrderableDbInstance:getOrderableDbInstance
arguments:
# arguments dictionary
The 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
. - Availability
Zone stringGroup - 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_version
withpreferred_instance_classes
and/orpreferred_engine_versions
. Usingengine_latest_version
will avoidmultiple RDS DB Instance Classes
errors. If you useengine_latest_version
withpreferred_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_version
may not return the latest version in every situation. - Engine
Version 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.
- Instance
Class string - DB instance class. Examples of classes are
db.m3.2xlarge
,db.t2.small
, anddb.m3.medium
. - License
Model string - License model. Examples of license models are
general-public-license
,bring-your-own-license
, andamazon-license
. - Preferred
Engine List<string>Versions - Ordered list of preferred RDS DB instance engine versions. When
engine_latest_version
is 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_versions
withoutpreferred_instance_classes
since the data source returns an arbitraryinstance_class
based on the first one AWS returns that matches the engine version and any other criteria. - Preferred
Instance 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_classes
withoutpreferred_engine_versions
orengine_latest_version
, the data source returns an arbitraryengine_version
based 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 string - Storage types. Examples of storage types are
standard
,io1
,gp2
, andaurora
. - Supported
Engine List<string>Modes - Use to limit results to engine modes such as
provisioned
. - Supported
Network List<string>Types - Use to limit results to network types
IPV4
orDUAL
. - 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
. - Availability
Zone stringGroup - 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_version
withpreferred_instance_classes
and/orpreferred_engine_versions
. Usingengine_latest_version
will avoidmultiple RDS DB Instance Classes
errors. If you useengine_latest_version
withpreferred_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_version
may not return the latest version in every situation. - Engine
Version 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.
- Instance
Class string - DB instance class. Examples of classes are
db.m3.2xlarge
,db.t2.small
, anddb.m3.medium
. - License
Model string - License model. Examples of license models are
general-public-license
,bring-your-own-license
, andamazon-license
. - Preferred
Engine []stringVersions - Ordered list of preferred RDS DB instance engine versions. When
engine_latest_version
is 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_versions
withoutpreferred_instance_classes
since the data source returns an arbitraryinstance_class
based on the first one AWS returns that matches the engine version and any other criteria. - Preferred
Instance []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_classes
withoutpreferred_engine_versions
orengine_latest_version
, the data source returns an arbitraryengine_version
based 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 string - Storage types. Examples of storage types are
standard
,io1
,gp2
, andaurora
. - Supported
Engine []stringModes - Use to limit results to engine modes such as
provisioned
. - Supported
Network []stringTypes - Use to limit results to network types
IPV4
orDUAL
. - 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
. - availability
Zone StringGroup - Availability zone group.
- engine
Latest 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_version
withpreferred_instance_classes
and/orpreferred_engine_versions
. Usingengine_latest_version
will avoidmultiple RDS DB Instance Classes
errors. If you useengine_latest_version
withpreferred_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_version
may not return the latest version in every situation. - engine
Version 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.
- instance
Class String - DB instance class. Examples of classes are
db.m3.2xlarge
,db.t2.small
, anddb.m3.medium
. - license
Model String - License model. Examples of license models are
general-public-license
,bring-your-own-license
, andamazon-license
. - preferred
Engine List<String>Versions - Ordered list of preferred RDS DB instance engine versions. When
engine_latest_version
is 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_versions
withoutpreferred_instance_classes
since the data source returns an arbitraryinstance_class
based on the first one AWS returns that matches the engine version and any other criteria. - preferred
Instance 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_classes
withoutpreferred_engine_versions
orengine_latest_version
, the data source returns an arbitraryengine_version
based on the first one AWS returns matching the instance class and any other criteria. - read
Replica BooleanCapable - Whether a DB instance can have a read replica.
- storage
Type String - Storage types. Examples of storage types are
standard
,io1
,gp2
, andaurora
. - supported
Engine List<String>Modes - Use to limit results to engine modes such as
provisioned
. - supported
Network List<String>Types - Use to limit results to network types
IPV4
orDUAL
. - supports
Clusters Boolean - Whether to limit results to instances that support clusters.
- supports
Enhanced BooleanMonitoring - Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports
Global BooleanDatabases - Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- supports
Iam BooleanDatabase Authentication - Enable this to ensure a DB instance supports IAM database authentication.
- supports
Iops Boolean - Enable this to ensure a DB instance supports provisioned IOPS.
- supports
Kerberos BooleanAuthentication - Enable this to ensure a DB instance supports Kerberos Authentication.
- supports
Multi BooleanAz - Whether to limit results to instances that are multi-AZ capable.
- supports
Performance BooleanInsights - Enable this to ensure a DB instance supports Performance Insights.
- supports
Storage BooleanAutoscaling - Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- supports
Storage 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
. - availability
Zone stringGroup - Availability zone group.
- engine
Latest 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_version
withpreferred_instance_classes
and/orpreferred_engine_versions
. Usingengine_latest_version
will avoidmultiple RDS DB Instance Classes
errors. If you useengine_latest_version
withpreferred_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_version
may not return the latest version in every situation. - engine
Version 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.
- instance
Class string - DB instance class. Examples of classes are
db.m3.2xlarge
,db.t2.small
, anddb.m3.medium
. - license
Model string - License model. Examples of license models are
general-public-license
,bring-your-own-license
, andamazon-license
. - preferred
Engine string[]Versions - Ordered list of preferred RDS DB instance engine versions. When
engine_latest_version
is 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_versions
withoutpreferred_instance_classes
since the data source returns an arbitraryinstance_class
based on the first one AWS returns that matches the engine version and any other criteria. - preferred
Instance 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_classes
withoutpreferred_engine_versions
orengine_latest_version
, the data source returns an arbitraryengine_version
based on the first one AWS returns matching the instance class and any other criteria. - read
Replica booleanCapable - Whether a DB instance can have a read replica.
- storage
Type string - Storage types. Examples of storage types are
standard
,io1
,gp2
, andaurora
. - supported
Engine string[]Modes - Use to limit results to engine modes such as
provisioned
. - supported
Network string[]Types - Use to limit results to network types
IPV4
orDUAL
. - supports
Clusters boolean - Whether to limit results to instances that support clusters.
- supports
Enhanced booleanMonitoring - Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports
Global booleanDatabases - Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- supports
Iam booleanDatabase Authentication - Enable this to ensure a DB instance supports IAM database authentication.
- supports
Iops boolean - Enable this to ensure a DB instance supports provisioned IOPS.
- supports
Kerberos booleanAuthentication - Enable this to ensure a DB instance supports Kerberos Authentication.
- supports
Multi booleanAz - Whether to limit results to instances that are multi-AZ capable.
- supports
Performance booleanInsights - Enable this to ensure a DB instance supports Performance Insights.
- supports
Storage booleanAutoscaling - Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- supports
Storage 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_version
withpreferred_instance_classes
and/orpreferred_engine_versions
. Usingengine_latest_version
will avoidmultiple RDS DB Instance Classes
errors. If you useengine_latest_version
withpreferred_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_version
may 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_version
is 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_versions
withoutpreferred_instance_classes
since the data source returns an arbitraryinstance_class
based 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_classes
withoutpreferred_engine_versions
orengine_latest_version
, the data source returns an arbitraryengine_version
based 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
IPV4
orDUAL
. - 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
. - availability
Zone StringGroup - Availability zone group.
- engine
Latest 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_version
withpreferred_instance_classes
and/orpreferred_engine_versions
. Usingengine_latest_version
will avoidmultiple RDS DB Instance Classes
errors. If you useengine_latest_version
withpreferred_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_version
may not return the latest version in every situation. - engine
Version 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.
- instance
Class String - DB instance class. Examples of classes are
db.m3.2xlarge
,db.t2.small
, anddb.m3.medium
. - license
Model String - License model. Examples of license models are
general-public-license
,bring-your-own-license
, andamazon-license
. - preferred
Engine List<String>Versions - Ordered list of preferred RDS DB instance engine versions. When
engine_latest_version
is 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_versions
withoutpreferred_instance_classes
since the data source returns an arbitraryinstance_class
based on the first one AWS returns that matches the engine version and any other criteria. - preferred
Instance 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_classes
withoutpreferred_engine_versions
orengine_latest_version
, the data source returns an arbitraryengine_version
based on the first one AWS returns matching the instance class and any other criteria. - read
Replica BooleanCapable - Whether a DB instance can have a read replica.
- storage
Type String - Storage types. Examples of storage types are
standard
,io1
,gp2
, andaurora
. - supported
Engine List<String>Modes - Use to limit results to engine modes such as
provisioned
. - supported
Network List<String>Types - Use to limit results to network types
IPV4
orDUAL
. - supports
Clusters Boolean - Whether to limit results to instances that support clusters.
- supports
Enhanced BooleanMonitoring - Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports
Global BooleanDatabases - Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes.
- supports
Iam BooleanDatabase Authentication - Enable this to ensure a DB instance supports IAM database authentication.
- supports
Iops Boolean - Enable this to ensure a DB instance supports provisioned IOPS.
- supports
Kerberos BooleanAuthentication - Enable this to ensure a DB instance supports Kerberos Authentication.
- supports
Multi BooleanAz - Whether to limit results to instances that are multi-AZ capable.
- supports
Performance BooleanInsights - Enable this to ensure a DB instance supports Performance Insights.
- supports
Storage BooleanAutoscaling - Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
- supports
Storage 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:
- Availability
Zone stringGroup - Availability
Zones List<string> - Availability zones where the instance is available.
- Engine string
- Engine
Version string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Class string - License
Model string - Max
Iops intPer Db Instance - Maximum total provisioned IOPS for a DB instance.
- Max
Iops doublePer 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 doublePer 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 string - Supported
Engine List<string>Modes - Supported
Network List<string>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 List<string>Versions - Preferred
Instance List<string>Classes
- Availability
Zone stringGroup - Availability
Zones []string - Availability zones where the instance is available.
- Engine string
- Engine
Version string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Class string - License
Model string - Max
Iops intPer Db Instance - Maximum total provisioned IOPS for a DB instance.
- Max
Iops float64Per 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 float64Per 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 string - Supported
Engine []stringModes - Supported
Network []stringTypes - 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 []stringVersions - Preferred
Instance []stringClasses
- availability
Zone StringGroup - availability
Zones List<String> - Availability zones where the instance is available.
- engine String
- engine
Version String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Class String - license
Model String - max
Iops IntegerPer Db Instance - Maximum total provisioned IOPS for a DB instance.
- max
Iops DoublePer Gib - Maximum provisioned IOPS per GiB for a DB instance.
- max
Storage IntegerSize - Maximum storage size for a DB instance.
- min
Iops IntegerPer Db Instance - Minimum total provisioned IOPS for a DB instance.
- min
Iops DoublePer Gib - Minimum provisioned IOPS per GiB for a DB instance.
- min
Storage IntegerSize - Minimum storage size for a DB instance.
- multi
Az BooleanCapable - Whether a DB instance is Multi-AZ capable.
- outpost
Capable Boolean - Whether a DB instance supports RDS on Outposts.
- read
Replica BooleanCapable - storage
Type String - supported
Engine List<String>Modes - supported
Network List<String>Types - supports
Clusters Boolean - supports
Enhanced BooleanMonitoring - supports
Global BooleanDatabases - supports
Iam BooleanDatabase Authentication - supports
Iops Boolean - supports
Kerberos BooleanAuthentication - supports
Multi BooleanAz - supports
Performance BooleanInsights - supports
Storage BooleanAutoscaling - supports
Storage BooleanEncryption - vpc Boolean
- engine
Latest BooleanVersion - preferred
Engine List<String>Versions - preferred
Instance List<String>Classes
- availability
Zone stringGroup - availability
Zones string[] - Availability zones where the instance is available.
- engine string
- engine
Version string - id string
- The provider-assigned unique ID for this managed resource.
- instance
Class string - license
Model string - max
Iops numberPer Db Instance - Maximum total provisioned IOPS for a DB instance.
- max
Iops numberPer Gib - Maximum provisioned IOPS per GiB for a DB instance.
- max
Storage numberSize - Maximum storage size for a DB instance.
- min
Iops numberPer Db Instance - Minimum total provisioned IOPS for a DB instance.
- min
Iops numberPer Gib - Minimum provisioned IOPS per GiB for a DB instance.
- min
Storage numberSize - Minimum storage size for a DB instance.
- multi
Az booleanCapable - Whether a DB instance is Multi-AZ capable.
- outpost
Capable boolean - Whether a DB instance supports RDS on Outposts.
- read
Replica booleanCapable - storage
Type string - supported
Engine string[]Modes - supported
Network string[]Types - supports
Clusters boolean - supports
Enhanced booleanMonitoring - supports
Global booleanDatabases - supports
Iam booleanDatabase Authentication - supports
Iops boolean - supports
Kerberos booleanAuthentication - supports
Multi booleanAz - supports
Performance booleanInsights - supports
Storage booleanAutoscaling - supports
Storage booleanEncryption - vpc boolean
- engine
Latest booleanVersion - preferred
Engine string[]Versions - preferred
Instance 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
- availability
Zone StringGroup - availability
Zones List<String> - Availability zones where the instance is available.
- engine String
- engine
Version String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Class String - license
Model String - max
Iops NumberPer Db Instance - Maximum total provisioned IOPS for a DB instance.
- max
Iops NumberPer Gib - Maximum provisioned IOPS per GiB for a DB instance.
- max
Storage NumberSize - Maximum storage size for a DB instance.
- min
Iops NumberPer Db Instance - Minimum total provisioned IOPS for a DB instance.
- min
Iops NumberPer Gib - Minimum provisioned IOPS per GiB for a DB instance.
- min
Storage NumberSize - Minimum storage size for a DB instance.
- multi
Az BooleanCapable - Whether a DB instance is Multi-AZ capable.
- outpost
Capable Boolean - Whether a DB instance supports RDS on Outposts.
- read
Replica BooleanCapable - storage
Type String - supported
Engine List<String>Modes - supported
Network List<String>Types - supports
Clusters Boolean - supports
Enhanced BooleanMonitoring - supports
Global BooleanDatabases - supports
Iam BooleanDatabase Authentication - supports
Iops Boolean - supports
Kerberos BooleanAuthentication - supports
Multi BooleanAz - supports
Performance BooleanInsights - supports
Storage BooleanAutoscaling - supports
Storage BooleanEncryption - vpc Boolean
- engine
Latest BooleanVersion - preferred
Engine List<String>Versions - preferred
Instance List<String>Classes
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.