Interface CfnWorkGroup.EngineVersionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWorkGroup.EngineVersionProperty.Jsii$Proxy
Enclosing class:
CfnWorkGroup

@Stability(Stable) public static interface CfnWorkGroup.EngineVersionProperty extends software.amazon.jsii.JsiiSerializable
The Athena engine version for running queries, or the PySpark engine version for running sessions.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.athena.*;
 EngineVersionProperty engineVersionProperty = EngineVersionProperty.builder()
         .effectiveEngineVersion("effectiveEngineVersion")
         .selectedEngineVersion("selectedEngineVersion")
         .build();
 
  • Method Details

    • getEffectiveEngineVersion

      @Stability(Stable) @Nullable default String getEffectiveEngineVersion()
      Read only.

      The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a CreateWorkGroup or UpdateWorkGroup operation, the EffectiveEngineVersion field is ignored.

    • getSelectedEngineVersion

      @Stability(Stable) @Nullable default String getSelectedEngineVersion()
      The engine version requested by the user.

      Possible values are determined by the output of ListEngineVersions , including AUTO. The default is AUTO.

    • builder

      @Stability(Stable) static CfnWorkGroup.EngineVersionProperty.Builder builder()
      Returns:
      a CfnWorkGroup.EngineVersionProperty.Builder of CfnWorkGroup.EngineVersionProperty