Interface CfnSessionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSessionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:50:57.164Z")
@Stability(Stable)
public interface CfnSessionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSession.
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.*;
CfnSessionProps cfnSessionProps = CfnSessionProps.builder()
.engineConfiguration(EngineConfigurationProperty.builder()
.maxConcurrentDpus(123)
// the properties below are optional
.additionalConfigs(Map.of(
"additionalConfigsKey", "additionalConfigs"))
.coordinatorDpuSize(123)
.defaultExecutorDpuSize(123)
.sparkProperties(Map.of(
"sparkPropertiesKey", "sparkProperties"))
.build())
.workGroup("workGroup")
// the properties below are optional
.executionRole("executionRole")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSessionPropsstatic final classAn implementation forCfnSessionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSessionProps.Builderbuilder()Contains engine data processing unit (DPU) configuration settings.default StringThe ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.The workgroup to which the session belongs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEngineConfiguration
Contains engine data processing unit (DPU) configuration settings.Returns union: either
IResolvableorCfnSession.EngineConfigurationProperty- See Also:
-
getWorkGroup
The workgroup to which the session belongs.- See Also:
-
getExecutionRole
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.- See Also:
-
builder
- Returns:
- a
CfnSessionProps.BuilderofCfnSessionProps
-