AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.neptune.getOrderableDbInstance
Explore with Pulumi AI
Information about Neptune orderable DB instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.neptune.getOrderableDbInstance({
    engineVersion: "1.0.3.0",
    preferredInstanceClasses: [
        "db.r5.large",
        "db.r4.large",
        "db.t3.medium",
    ],
});
import pulumi
import pulumi_aws as aws
test = aws.neptune.get_orderable_db_instance(engine_version="1.0.3.0",
    preferred_instance_classes=[
        "db.r5.large",
        "db.r4.large",
        "db.t3.medium",
    ])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/neptune"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := neptune.GetOrderableDbInstance(ctx, &neptune.GetOrderableDbInstanceArgs{
			EngineVersion: pulumi.StringRef("1.0.3.0"),
			PreferredInstanceClasses: []string{
				"db.r5.large",
				"db.r4.large",
				"db.t3.medium",
			},
		}, 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.Neptune.GetOrderableDbInstance.Invoke(new()
    {
        EngineVersion = "1.0.3.0",
        PreferredInstanceClasses = new[]
        {
            "db.r5.large",
            "db.r4.large",
            "db.t3.medium",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.neptune.NeptuneFunctions;
import com.pulumi.aws.neptune.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 = NeptuneFunctions.getOrderableDbInstance(GetOrderableDbInstanceArgs.builder()
            .engineVersion("1.0.3.0")
            .preferredInstanceClasses(            
                "db.r5.large",
                "db.r4.large",
                "db.t3.medium")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:neptune:getOrderableDbInstance
      arguments:
        engineVersion: 1.0.3.0
        preferredInstanceClasses:
          - db.r5.large
          - db.r4.large
          - db.t3.medium
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(engine: Optional[str] = None,
                              engine_version: Optional[str] = None,
                              instance_class: Optional[str] = None,
                              license_model: Optional[str] = None,
                              preferred_instance_classes: Optional[Sequence[str]] = None,
                              vpc: Optional[bool] = None,
                              opts: Optional[InvokeOptions] = None) -> GetOrderableDbInstanceResult
def get_orderable_db_instance_output(engine: Optional[pulumi.Input[str]] = None,
                              engine_version: Optional[pulumi.Input[str]] = None,
                              instance_class: Optional[pulumi.Input[str]] = None,
                              license_model: Optional[pulumi.Input[str]] = None,
                              preferred_instance_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = 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:neptune/getOrderableDbInstance:getOrderableDbInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Engine string
- DB engine. (Default: neptune)
- EngineVersion string
- Version of the DB engine. For example, 1.0.1.0,1.0.1.2,1.0.2.2, and1.0.3.0.
- InstanceClass string
- DB instance class. Examples of classes are db.r5.large,db.r5.xlarge,db.r4.large,db.r5.4xlarge,db.r5.12xlarge,db.r4.xlarge, anddb.t3.medium.
- LicenseModel string
- License model. (Default: amazon-license)
- PreferredInstance List<string>Classes 
- Ordered list of preferred Neptune 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.
- Vpc bool
- Enable to show only VPC offerings.
- Engine string
- DB engine. (Default: neptune)
- EngineVersion string
- Version of the DB engine. For example, 1.0.1.0,1.0.1.2,1.0.2.2, and1.0.3.0.
- InstanceClass string
- DB instance class. Examples of classes are db.r5.large,db.r5.xlarge,db.r4.large,db.r5.4xlarge,db.r5.12xlarge,db.r4.xlarge, anddb.t3.medium.
- LicenseModel string
- License model. (Default: amazon-license)
- PreferredInstance []stringClasses 
- Ordered list of preferred Neptune 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.
- Vpc bool
- Enable to show only VPC offerings.
- engine String
- DB engine. (Default: neptune)
- engineVersion String
- Version of the DB engine. For example, 1.0.1.0,1.0.1.2,1.0.2.2, and1.0.3.0.
- instanceClass String
- DB instance class. Examples of classes are db.r5.large,db.r5.xlarge,db.r4.large,db.r5.4xlarge,db.r5.12xlarge,db.r4.xlarge, anddb.t3.medium.
- licenseModel String
- License model. (Default: amazon-license)
- preferredInstance List<String>Classes 
- Ordered list of preferred Neptune 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.
- vpc Boolean
- Enable to show only VPC offerings.
- engine string
- DB engine. (Default: neptune)
- engineVersion string
- Version of the DB engine. For example, 1.0.1.0,1.0.1.2,1.0.2.2, and1.0.3.0.
- instanceClass string
- DB instance class. Examples of classes are db.r5.large,db.r5.xlarge,db.r4.large,db.r5.4xlarge,db.r5.12xlarge,db.r4.xlarge, anddb.t3.medium.
- licenseModel string
- License model. (Default: amazon-license)
- preferredInstance string[]Classes 
- Ordered list of preferred Neptune 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.
- vpc boolean
- Enable to show only VPC offerings.
- engine str
- DB engine. (Default: neptune)
- engine_version str
- Version of the DB engine. For example, 1.0.1.0,1.0.1.2,1.0.2.2, and1.0.3.0.
- instance_class str
- DB instance class. Examples of classes are db.r5.large,db.r5.xlarge,db.r4.large,db.r5.4xlarge,db.r5.12xlarge,db.r4.xlarge, anddb.t3.medium.
- license_model str
- License model. (Default: amazon-license)
- preferred_instance_ Sequence[str]classes 
- Ordered list of preferred Neptune 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.
- vpc bool
- Enable to show only VPC offerings.
- engine String
- DB engine. (Default: neptune)
- engineVersion String
- Version of the DB engine. For example, 1.0.1.0,1.0.1.2,1.0.2.2, and1.0.3.0.
- instanceClass String
- DB instance class. Examples of classes are db.r5.large,db.r5.xlarge,db.r4.large,db.r5.4xlarge,db.r5.12xlarge,db.r4.xlarge, anddb.t3.medium.
- licenseModel String
- License model. (Default: amazon-license)
- preferredInstance List<String>Classes 
- Ordered list of preferred Neptune 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.
- vpc Boolean
- Enable to show only VPC offerings.
getOrderableDbInstance Result
The following output properties are available:
- AvailabilityZones List<string>
- Availability zones where the instance is available.
- EngineVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceClass 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.
- ReadReplica boolCapable 
- Whether a DB instance can have a read replica.
- StorageType string
- Storage type for a DB instance.
- SupportsEnhanced boolMonitoring 
- Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- SupportsIam boolDatabase Authentication 
- Whether a DB instance supports IAM database authentication.
- SupportsIops bool
- Whether a DB instance supports provisioned IOPS.
- SupportsPerformance boolInsights 
- Whether a DB instance supports Performance Insights.
- SupportsStorage boolEncryption 
- Whether a DB instance supports encrypted storage.
- Vpc bool
- Engine string
- LicenseModel string
- PreferredInstance List<string>Classes 
- AvailabilityZones []string
- Availability zones where the instance is available.
- EngineVersion string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceClass 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.
- ReadReplica boolCapable 
- Whether a DB instance can have a read replica.
- StorageType string
- Storage type for a DB instance.
- SupportsEnhanced boolMonitoring 
- Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- SupportsIam boolDatabase Authentication 
- Whether a DB instance supports IAM database authentication.
- SupportsIops bool
- Whether a DB instance supports provisioned IOPS.
- SupportsPerformance boolInsights 
- Whether a DB instance supports Performance Insights.
- SupportsStorage boolEncryption 
- Whether a DB instance supports encrypted storage.
- Vpc bool
- Engine string
- LicenseModel string
- PreferredInstance []stringClasses 
- availabilityZones List<String>
- Availability zones where the instance is available.
- engineVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceClass 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.
- readReplica BooleanCapable 
- Whether a DB instance can have a read replica.
- storageType String
- Storage type for a DB instance.
- supportsEnhanced BooleanMonitoring 
- Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supportsIam BooleanDatabase Authentication 
- Whether a DB instance supports IAM database authentication.
- supportsIops Boolean
- Whether a DB instance supports provisioned IOPS.
- supportsPerformance BooleanInsights 
- Whether a DB instance supports Performance Insights.
- supportsStorage BooleanEncryption 
- Whether a DB instance supports encrypted storage.
- vpc Boolean
- engine String
- licenseModel String
- preferredInstance List<String>Classes 
- availabilityZones string[]
- Availability zones where the instance is available.
- engineVersion string
- id string
- The provider-assigned unique ID for this managed resource.
- instanceClass 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.
- readReplica booleanCapable 
- Whether a DB instance can have a read replica.
- storageType string
- Storage type for a DB instance.
- supportsEnhanced booleanMonitoring 
- Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supportsIam booleanDatabase Authentication 
- Whether a DB instance supports IAM database authentication.
- supportsIops boolean
- Whether a DB instance supports provisioned IOPS.
- supportsPerformance booleanInsights 
- Whether a DB instance supports Performance Insights.
- supportsStorage booleanEncryption 
- Whether a DB instance supports encrypted storage.
- vpc boolean
- engine string
- licenseModel string
- preferredInstance string[]Classes 
- availability_zones Sequence[str]
- Availability zones where the instance is available.
- engine_version str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_class 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.
- read_replica_ boolcapable 
- Whether a DB instance can have a read replica.
- storage_type str
- Storage type for a DB instance.
- supports_enhanced_ boolmonitoring 
- Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports_iam_ booldatabase_ authentication 
- Whether a DB instance supports IAM database authentication.
- supports_iops bool
- Whether a DB instance supports provisioned IOPS.
- supports_performance_ boolinsights 
- Whether a DB instance supports Performance Insights.
- supports_storage_ boolencryption 
- Whether a DB instance supports encrypted storage.
- vpc bool
- engine str
- license_model str
- preferred_instance_ Sequence[str]classes 
- availabilityZones List<String>
- Availability zones where the instance is available.
- engineVersion String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceClass 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.
- readReplica BooleanCapable 
- Whether a DB instance can have a read replica.
- storageType String
- Storage type for a DB instance.
- supportsEnhanced BooleanMonitoring 
- Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supportsIam BooleanDatabase Authentication 
- Whether a DB instance supports IAM database authentication.
- supportsIops Boolean
- Whether a DB instance supports provisioned IOPS.
- supportsPerformance BooleanInsights 
- Whether a DB instance supports Performance Insights.
- supportsStorage BooleanEncryption 
- Whether a DB instance supports encrypted storage.
- vpc Boolean
- engine String
- licenseModel String
- 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.