AWS::Glue::Session

Glue Session

Resource Type definition for AWS::Glue::Session. Sessions provide an on-demand, serverless Apache Spark runtime environment for building, testing, and running data preparation and analytics applications.

Properties

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

Filter:
PropertyTypeFlags
Command
SessionCommand
RequiredCreate-only
Id
string
RequiredCreate-only
Role
string
RequiredCreate-only
Connections
ConnectionsList
Create-only
DefaultArguments
object
Create-only
Description
string
Create-only
GlueVersion
string
Create-only
IdleTimeout
integer
Create-only
MaxCapacity
number
Create-only
NumberOfWorkers
integer
Create-only
RequestOrigin
string
Create-onlyWrite-only
SecurityConfiguration
string
Create-only
Tags
Array<Tag>
Timeout
integer
Create-onlyWrite-only
WorkerType
string
Create-only

Return Values

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

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the session.
CreatedOnstringThe time and date when the session was created.
ProgressnumberThe code execution progress of the session.
StatusstringThe session status.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

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

Resources:
  MyResource:
    Type: AWS::Glue::Session
    Properties:
      Id: "my-id"
      Role: "value"
      Command: "value"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

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

create

glue:CreateSessionglue:GetSessionglue:TagResourceiam:PassRole

read

glue:GetSessionglue:GetTags

delete

glue:DeleteSessionglue:GetSession

list

glue:ListSessions

update

glue:GetSessionglue:TagResourceglue:UntagResource

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

ServiceGlue
Properties19
Required3
TaggingSupported
Primary IDArn

Supported Operations

CreateReadDeleteListUpdate

Immutable After Creation

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

IdDescriptionRoleCommandTimeoutIdleTimeoutDefaultArgumentsConnectionsMaxCapacityNumberOfWorkersWorkerTypeSecurityConfigurationGlueVersionRequestOrigin

External Links