Interface CfnWorkGroup.EngineConfigurationProperty

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

@Stability(Stable) public static interface CfnWorkGroup.EngineConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The engine configuration for the workgroup, which includes the minimum/maximum number of Data Processing Units (DPU) that queries should use when running in provisioned capacity.

If not specified, Athena uses default values (Default value for min is 4 and for max is Minimum of 124 and allocated DPUs).

To specify DPU values for PC queries the WG containing EngineConfiguration should have the following values: The name of the Classifications should be athena-query-engine-properties , with the only allowed properties as max-dpu-count and min-dpu-count .

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.*;
 EngineConfigurationProperty engineConfigurationProperty = EngineConfigurationProperty.builder()
         .additionalConfigs(Map.of(
                 "additionalConfigsKey", "additionalConfigs"))
         .classifications(List.of(ClassificationProperty.builder()
                 .name("name")
                 .properties(Map.of(
                         "propertiesKey", "properties"))
                 .build()))
         .coordinatorDpuSize(123)
         .defaultExecutorDpuSize(123)
         .maxConcurrentDpus(123)
         .sparkProperties(Map.of(
                 "sparkPropertiesKey", "sparkProperties"))
         .build();
 

See Also: