AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi
aws.neptune.getEngineVersion
Explore with Pulumi AI
Information about a Neptune engine version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.neptune.getEngineVersion({
    preferredVersions: [
        "1.0.3.0",
        "1.0.2.2",
        "1.0.2.1",
    ],
});
import pulumi
import pulumi_aws as aws
test = aws.neptune.get_engine_version(preferred_versions=[
    "1.0.3.0",
    "1.0.2.2",
    "1.0.2.1",
])
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.GetEngineVersion(ctx, &neptune.GetEngineVersionArgs{
			PreferredVersions: []string{
				"1.0.3.0",
				"1.0.2.2",
				"1.0.2.1",
			},
		}, 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.GetEngineVersion.Invoke(new()
    {
        PreferredVersions = new[]
        {
            "1.0.3.0",
            "1.0.2.2",
            "1.0.2.1",
        },
    });
});
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.GetEngineVersionArgs;
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.getEngineVersion(GetEngineVersionArgs.builder()
            .preferredVersions(            
                "1.0.3.0",
                "1.0.2.2",
                "1.0.2.1")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:neptune:getEngineVersion
      arguments:
        preferredVersions:
          - 1.0.3.0
          - 1.0.2.2
          - 1.0.2.1
Using getEngineVersion
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 getEngineVersion(args: GetEngineVersionArgs, opts?: InvokeOptions): Promise<GetEngineVersionResult>
function getEngineVersionOutput(args: GetEngineVersionOutputArgs, opts?: InvokeOptions): Output<GetEngineVersionResult>def get_engine_version(engine: Optional[str] = None,
                       parameter_group_family: Optional[str] = None,
                       preferred_versions: Optional[Sequence[str]] = None,
                       version: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetEngineVersionResult
def get_engine_version_output(engine: Optional[pulumi.Input[str]] = None,
                       parameter_group_family: Optional[pulumi.Input[str]] = None,
                       preferred_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       version: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetEngineVersionResult]func GetEngineVersion(ctx *Context, args *GetEngineVersionArgs, opts ...InvokeOption) (*GetEngineVersionResult, error)
func GetEngineVersionOutput(ctx *Context, args *GetEngineVersionOutputArgs, opts ...InvokeOption) GetEngineVersionResultOutput> Note: This function is named GetEngineVersion in the Go SDK.
public static class GetEngineVersion 
{
    public static Task<GetEngineVersionResult> InvokeAsync(GetEngineVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetEngineVersionResult> Invoke(GetEngineVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEngineVersionResult> getEngineVersion(GetEngineVersionArgs args, InvokeOptions options)
public static Output<GetEngineVersionResult> getEngineVersion(GetEngineVersionArgs args, InvokeOptions options)
fn::invoke:
  function: aws:neptune/getEngineVersion:getEngineVersion
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Engine string
- DB engine. (Default: neptune)
- ParameterGroup stringFamily 
- Name of a specific DB parameter group family. An example parameter group family is neptune1.
- PreferredVersions List<string>
- Ordered list of preferred engine versions. 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. If both the versionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- Version string
- Version of the DB engine. For example, 1.0.1.0,1.0.2.2, and1.0.3.0. If both theversionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- Engine string
- DB engine. (Default: neptune)
- ParameterGroup stringFamily 
- Name of a specific DB parameter group family. An example parameter group family is neptune1.
- PreferredVersions []string
- Ordered list of preferred engine versions. 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. If both the versionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- Version string
- Version of the DB engine. For example, 1.0.1.0,1.0.2.2, and1.0.3.0. If both theversionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- engine String
- DB engine. (Default: neptune)
- parameterGroup StringFamily 
- Name of a specific DB parameter group family. An example parameter group family is neptune1.
- preferredVersions List<String>
- Ordered list of preferred engine versions. 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. If both the versionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- version String
- Version of the DB engine. For example, 1.0.1.0,1.0.2.2, and1.0.3.0. If both theversionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- engine string
- DB engine. (Default: neptune)
- parameterGroup stringFamily 
- Name of a specific DB parameter group family. An example parameter group family is neptune1.
- preferredVersions string[]
- Ordered list of preferred engine versions. 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. If both the versionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- version string
- Version of the DB engine. For example, 1.0.1.0,1.0.2.2, and1.0.3.0. If both theversionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- engine str
- DB engine. (Default: neptune)
- parameter_group_ strfamily 
- Name of a specific DB parameter group family. An example parameter group family is neptune1.
- preferred_versions Sequence[str]
- Ordered list of preferred engine versions. 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. If both the versionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- version str
- Version of the DB engine. For example, 1.0.1.0,1.0.2.2, and1.0.3.0. If both theversionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- engine String
- DB engine. (Default: neptune)
- parameterGroup StringFamily 
- Name of a specific DB parameter group family. An example parameter group family is neptune1.
- preferredVersions List<String>
- Ordered list of preferred engine versions. 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. If both the versionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
- version String
- Version of the DB engine. For example, 1.0.1.0,1.0.2.2, and1.0.3.0. If both theversionandpreferred_versionsarguments are not configured, the data source will return the default version for the engine.
getEngineVersion Result
The following output properties are available:
- EngineDescription string
- Description of the database engine.
- ExportableLog List<string>Types 
- Set of log types that the database engine has available for export to CloudWatch Logs.
- Id string
- The provider-assigned unique ID for this managed resource.
- ParameterGroup stringFamily 
- SupportedTimezones List<string>
- Set of the time zones supported by this engine.
- SupportsLog boolExports To Cloudwatch 
- Indicates whether the engine version supports exporting the log types specified by exportable_log_typesto CloudWatch Logs.
- SupportsRead boolReplica 
- Indicates whether the database engine version supports read replicas.
- ValidUpgrade List<string>Targets 
- Set of engine versions that this database engine version can be upgraded to.
- Version string
- VersionDescription string
- Description of the database engine version.
- Engine string
- PreferredVersions List<string>
- EngineDescription string
- Description of the database engine.
- ExportableLog []stringTypes 
- Set of log types that the database engine has available for export to CloudWatch Logs.
- Id string
- The provider-assigned unique ID for this managed resource.
- ParameterGroup stringFamily 
- SupportedTimezones []string
- Set of the time zones supported by this engine.
- SupportsLog boolExports To Cloudwatch 
- Indicates whether the engine version supports exporting the log types specified by exportable_log_typesto CloudWatch Logs.
- SupportsRead boolReplica 
- Indicates whether the database engine version supports read replicas.
- ValidUpgrade []stringTargets 
- Set of engine versions that this database engine version can be upgraded to.
- Version string
- VersionDescription string
- Description of the database engine version.
- Engine string
- PreferredVersions []string
- engineDescription String
- Description of the database engine.
- exportableLog List<String>Types 
- Set of log types that the database engine has available for export to CloudWatch Logs.
- id String
- The provider-assigned unique ID for this managed resource.
- parameterGroup StringFamily 
- supportedTimezones List<String>
- Set of the time zones supported by this engine.
- supportsLog BooleanExports To Cloudwatch 
- Indicates whether the engine version supports exporting the log types specified by exportable_log_typesto CloudWatch Logs.
- supportsRead BooleanReplica 
- Indicates whether the database engine version supports read replicas.
- validUpgrade List<String>Targets 
- Set of engine versions that this database engine version can be upgraded to.
- version String
- versionDescription String
- Description of the database engine version.
- engine String
- preferredVersions List<String>
- engineDescription string
- Description of the database engine.
- exportableLog string[]Types 
- Set of log types that the database engine has available for export to CloudWatch Logs.
- id string
- The provider-assigned unique ID for this managed resource.
- parameterGroup stringFamily 
- supportedTimezones string[]
- Set of the time zones supported by this engine.
- supportsLog booleanExports To Cloudwatch 
- Indicates whether the engine version supports exporting the log types specified by exportable_log_typesto CloudWatch Logs.
- supportsRead booleanReplica 
- Indicates whether the database engine version supports read replicas.
- validUpgrade string[]Targets 
- Set of engine versions that this database engine version can be upgraded to.
- version string
- versionDescription string
- Description of the database engine version.
- engine string
- preferredVersions string[]
- engine_description str
- Description of the database engine.
- exportable_log_ Sequence[str]types 
- Set of log types that the database engine has available for export to CloudWatch Logs.
- id str
- The provider-assigned unique ID for this managed resource.
- parameter_group_ strfamily 
- supported_timezones Sequence[str]
- Set of the time zones supported by this engine.
- supports_log_ boolexports_ to_ cloudwatch 
- Indicates whether the engine version supports exporting the log types specified by exportable_log_typesto CloudWatch Logs.
- supports_read_ boolreplica 
- Indicates whether the database engine version supports read replicas.
- valid_upgrade_ Sequence[str]targets 
- Set of engine versions that this database engine version can be upgraded to.
- version str
- version_description str
- Description of the database engine version.
- engine str
- preferred_versions Sequence[str]
- engineDescription String
- Description of the database engine.
- exportableLog List<String>Types 
- Set of log types that the database engine has available for export to CloudWatch Logs.
- id String
- The provider-assigned unique ID for this managed resource.
- parameterGroup StringFamily 
- supportedTimezones List<String>
- Set of the time zones supported by this engine.
- supportsLog BooleanExports To Cloudwatch 
- Indicates whether the engine version supports exporting the log types specified by exportable_log_typesto CloudWatch Logs.
- supportsRead BooleanReplica 
- Indicates whether the database engine version supports read replicas.
- validUpgrade List<String>Targets 
- Set of engine versions that this database engine version can be upgraded to.
- version String
- versionDescription String
- Description of the database engine version.
- engine String
- preferredVersions List<String>
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.