interface CfnSessionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Athena.CfnSessionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsathena#CfnSessionProps |
Java | software.amazon.awscdk.services.athena.CfnSessionProps |
Python | aws_cdk.aws_athena.CfnSessionProps |
TypeScript | aws-cdk-lib » aws_athena » CfnSessionProps |
Properties for defining a CfnSession.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-session.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_athena as athena } from 'aws-cdk-lib';
const cfnSessionProps: athena.CfnSessionProps = {
engineConfiguration: {
maxConcurrentDpus: 123,
// the properties below are optional
additionalConfigs: {
additionalConfigsKey: 'additionalConfigs',
},
coordinatorDpuSize: 123,
defaultExecutorDpuSize: 123,
sparkProperties: {
sparkPropertiesKey: 'sparkProperties',
},
},
workGroup: 'workGroup',
// the properties below are optional
executionRole: 'executionRole',
};
Properties
| Name | Type | Description |
|---|---|---|
| engine | IResolvable | Engine | Contains engine data processing unit (DPU) configuration settings. |
| work | string | The workgroup to which the session belongs. |
| execution | string | The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. |
engineConfiguration
Type:
IResolvable | Engine
Contains engine data processing unit (DPU) configuration settings.
workGroup
Type:
string
The workgroup to which the session belongs.
executionRole?
Type:
string
(optional)
The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups.

.NET
Go
Java
Python
TypeScript