AWS v6.60.0 published on Tuesday, Nov 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:neptune/getOrderableDbInstance:getOrderableDbInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Engine string
- DB engine. (Default:
neptune
) - Engine
Version string - 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 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
. - License
Model string - License model. (Default:
amazon-license
) - Preferred
Instance 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
) - Engine
Version string - 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 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
. - License
Model string - License model. (Default:
amazon-license
) - Preferred
Instance []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
) - engine
Version String - 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 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
. - license
Model String - License model. (Default:
amazon-license
) - preferred
Instance 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
) - engine
Version string - 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 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
. - license
Model string - License model. (Default:
amazon-license
) - preferred
Instance 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
) - engine
Version String - 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 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
. - license
Model String - License model. (Default:
amazon-license
) - preferred
Instance 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:
- Availability
Zones List<string> - Availability zones where the instance is available.
- Engine
Version string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Class 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.
- Read
Replica boolCapable - Whether a DB instance can have a read replica.
- Storage
Type string - 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 string
- License
Model string - Preferred
Instance List<string>Classes
- Availability
Zones []string - Availability zones where the instance is available.
- Engine
Version string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Class 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.
- Read
Replica boolCapable - Whether a DB instance can have a read replica.
- Storage
Type string - 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 string
- License
Model string - Preferred
Instance []stringClasses
- availability
Zones List<String> - Availability zones where the instance is available.
- engine
Version String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Class 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.
- read
Replica BooleanCapable - Whether a DB instance can have a read replica.
- storage
Type String - Storage type for a DB instance.
- supports
Enhanced BooleanMonitoring - Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports
Iam BooleanDatabase Authentication - Whether a DB instance supports IAM database authentication.
- supports
Iops Boolean - Whether a DB instance supports provisioned IOPS.
- supports
Performance BooleanInsights - Whether a DB instance supports Performance Insights.
- supports
Storage BooleanEncryption - Whether a DB instance supports encrypted storage.
- vpc Boolean
- engine String
- license
Model String - preferred
Instance List<String>Classes
- availability
Zones string[] - Availability zones where the instance is available.
- engine
Version string - id string
- The provider-assigned unique ID for this managed resource.
- instance
Class 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.
- read
Replica booleanCapable - Whether a DB instance can have a read replica.
- storage
Type string - Storage type for a DB instance.
- supports
Enhanced booleanMonitoring - Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports
Iam booleanDatabase Authentication - Whether a DB instance supports IAM database authentication.
- supports
Iops boolean - Whether a DB instance supports provisioned IOPS.
- supports
Performance booleanInsights - Whether a DB instance supports Performance Insights.
- supports
Storage booleanEncryption - Whether a DB instance supports encrypted storage.
- vpc boolean
- engine string
- license
Model string - preferred
Instance 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
- availability
Zones List<String> - Availability zones where the instance is available.
- engine
Version String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Class 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.
- read
Replica BooleanCapable - Whether a DB instance can have a read replica.
- storage
Type String - Storage type for a DB instance.
- supports
Enhanced BooleanMonitoring - Whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.
- supports
Iam BooleanDatabase Authentication - Whether a DB instance supports IAM database authentication.
- supports
Iops Boolean - Whether a DB instance supports provisioned IOPS.
- supports
Performance BooleanInsights - Whether a DB instance supports Performance Insights.
- supports
Storage BooleanEncryption - Whether a DB instance supports encrypted storage.
- vpc Boolean
- engine String
- license
Model String - 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.