getEngineVersion

Information about a DocumentDB engine version.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.docdb.DocdbFunctions;
import com.pulumi.aws.docdb.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 = DocdbFunctions.getEngineVersion(GetEngineVersionArgs.builder()
.version("3.6.0")
.build());
}
}

Return

A collection of values returned by getEngineVersion.

Parameters

argument

A collection of arguments for invoking getEngineVersion.


suspend fun getEngineVersion(engine: String? = null, parameterGroupFamily: String? = null, preferredVersions: List<String>? = null, version: String? = null): GetEngineVersionResult

Return

A collection of values returned by getEngineVersion.

Parameters

engine

DB engine. (Default: docdb)

parameterGroupFamily

Name of a specific DB parameter group family. An example parameter group family is docdb3.6.

preferredVersions

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 version and preferred_versions arguments are not configured, the data source will return the default version for the engine.

version

Version of the DB engine. For example, 3.6.0. If version and preferred_versions are not set, the data source will provide information for the AWS-defined default version. If both the version and preferred_versions arguments are not configured, the data source will return the default version for the engine.

See also


Return

A collection of values returned by getEngineVersion.

Parameters

argument

Builder for com.pulumi.aws.docdb.kotlin.inputs.GetEngineVersionPlainArgs.

See also