Class GetEngineVersionPlainArgs


  • public final class GetEngineVersionPlainArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • defaultOnly

        public java.util.Optional<java.lang.Boolean> defaultOnly()
        Returns:
        Whether the engine version must be an AWS-defined default version. Some engines have multiple default versions, such as for each major version. Using `defaultOnly` may help avoid `multiple RDS engine versions` errors. See also `latest`.
      • engine

        public java.lang.String engine()
        Returns:
        Database 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`, and `sqlserver-web`. The following arguments are optional:
      • filters

        public java.util.Optional<java.util.List<GetEngineVersionFilter>> filters()
        Returns:
        Configuration block for filtering versions. See `filter` Block below.
      • hasMajorTarget

        public java.util.Optional<java.lang.Boolean> hasMajorTarget()
        Returns:
        Whether the engine version must have one or more major upgrade targets. Not including `hasMajorTarget` or setting it to `false` doesn't imply that there's no corresponding major upgrade target for the engine version.
      • hasMinorTarget

        public java.util.Optional<java.lang.Boolean> hasMinorTarget()
        Returns:
        Whether the engine version must have one or more minor upgrade targets. Not including `hasMinorTarget` or setting it to `false` doesn't imply that there's no corresponding minor upgrade target for the engine version.
      • includeAll

        public java.util.Optional<java.lang.Boolean> includeAll()
        Returns:
        Whether the engine version `status` can either be `deprecated` or `available`. When not set or set to `false`, the engine version `status` will always be `available`.
      • latest

        public java.util.Optional<java.lang.Boolean> latest()
        Returns:
        Whether the engine version is the most recent version matching the other criteria. This is different from `defaultOnly` in important ways: "default" relies on AWS-defined defaults, the latest version isn't always the default, and AWS might have multiple default versions for an engine. As a result, `defaultOnly` might not prevent errors from `multiple RDS engine versions`, while `latest` will. (`latest` can be used with `defaultOnly`.) **Note:** The data source uses a best-effort approach at selecting the latest version. Due to the complexity of version identifiers across engines and incomplete version date information provided by AWS, using `latest` may not always result in the engine version being the actual latest version.
      • parameterGroupFamily

        public java.util.Optional<java.lang.String> parameterGroupFamily()
        Returns:
        Name of a specific database parameter group family. Examples of parameter group families are `mysql8.0`, `mariadb10.4`, and `postgres12`.
      • preferredMajorTargets

        public java.util.Optional<java.util.List<java.lang.String>> preferredMajorTargets()
        Returns:
        Ordered list of preferred major version upgrade targets. The engine version will be the first match in the list unless the `latest` parameter is set to `true`. The engine version will be the default version if you don't include any criteria, such as `preferredMajorTargets`.
      • preferredUpgradeTargets

        public java.util.Optional<java.util.List<java.lang.String>> preferredUpgradeTargets()
        Returns:
        Ordered list of preferred version upgrade targets. The engine version will be the first match in this list unless the `latest` parameter is set to `true`. The engine version will be the default version if you don't include any criteria, such as `preferredUpgradeTargets`.
      • preferredVersions

        public java.util.Optional<java.util.List<java.lang.String>> preferredVersions()
        Returns:
        Ordered list of preferred versions. The engine version will be the first match in this list unless the `latest` parameter is set to `true`. The engine version will be the default version if you don't include any criteria, such as `preferredVersions`.
      • region

        public java.util.Optional<java.lang.String> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • version

        public java.util.Optional<java.lang.String> version()
        Returns:
        Engine version. For example, `5.7.22`, `10.1.34`, or `12.3`. `version` can be a partial version identifier which can result in `multiple RDS engine versions` errors unless the `latest` parameter is set to `true`. The engine version will be the default version if you don't include any criteria, such as `version`. **NOTE:** In a future Terraform AWS provider version, `version` will only contain the version information you configure and not the complete version information that the data source gets from AWS. Instead, that version information will be available in the `versionActual` attribute.