AWS::Athena::SessionAn Athena session is a Spark-based interactive environment for running calculations within a workgroup.
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
EngineConfiguration | EngineConfiguration | RequiredCreate-only |
WorkGroup | string | RequiredCreate-only |
ExecutionRole | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The ARN of the session. |
EngineVersion | string | The engine version used by the session. |
SessionId | string | The session ID. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Athena::Session
Resources:
MyResource:
Type: AWS::Athena::Session
Properties:
WorkGroup: "value"
EngineConfiguration: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
athena:GetSessionathena:ListSessionsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
EngineConfigurationExecutionRoleWorkGroup