AWS Fundamentals Logo
AWS Fundamentals
AWS::Athena::Session

Athena Session

An Athena session is a Spark-based interactive environment for running calculations within a workgroup.

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
EngineConfiguration
EngineConfiguration
RequiredCreate-only
WorkGroup
string
RequiredCreate-only
ExecutionRole
string
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe ARN of the session.
EngineVersionstringThe engine version used by the session.
SessionIdstringThe session ID.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Athena::Session

Resources:
  MyResource:
    Type: AWS::Athena::Session
    Properties:
      WorkGroup: "value"
      EngineConfiguration: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

athena:GetSession

list

athena:ListSessions

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceAthena
Properties6
Required2
TaggingNot supported
Primary IDArn

Supported Operations

ReadList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

EngineConfigurationExecutionRoleWorkGroup

External Links