Interface CfnWorkGroup.EngineConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkGroup.EngineConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnWorkGroup
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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkGroup.EngineConfigurationPropertystatic final classAn implementation forCfnWorkGroup.EngineConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains additional notebook engineMAP<string, string>parameter mappings in the form of key-value pairs.default ObjectThe configuration classifications that can be specified for the engine.default NumberThe number of DPUs to use for the coordinator.default NumberThe default number of DPUs to use for executors.default NumberThe maximum number of DPUs that can run concurrently.default ObjectSpecifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalConfigs
Contains additional notebook engineMAP<string, string>parameter mappings in the form of key-value pairs.To specify an Athena notebook that the Jupyter server will download and serve, specify a value for the
StartSessionRequest$NotebookVersionfield, and then add a key namedNotebookIdtoAdditionalConfigsthat has the value of the Athena notebook ID.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getClassifications
The configuration classifications that can be specified for the engine.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkGroup.ClassificationProperty>- See Also:
-
getCoordinatorDpuSize
The number of DPUs to use for the coordinator.A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session. The default is 1.
- See Also:
-
getDefaultExecutorDpuSize
The default number of DPUs to use for executors.An executor is the smallest unit of compute that a notebook session can request from Athena. The default is 1.
- See Also:
-
getMaxConcurrentDpus
The maximum number of DPUs that can run concurrently.- See Also:
-
getSparkProperties
Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
builder
-