AWS::Glue::SessionResource 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.
15 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
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 |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the session. |
CreatedOn | string | The time and date when the session was created. |
Progress | number | The code execution progress of the session. |
Status | string | The session status. |
A minimal template with required properties and common optional ones.
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"Permissions CloudFormation needs in your IAM role to manage this resource.
glue:CreateSessionglue:GetSessionglue:TagResourceiam:PassRoleglue:GetSessionglue:GetTagsglue:DeleteSessionglue:GetSessionglue:ListSessionsglue:GetSessionglue:TagResourceglue:UntagResourceOur 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.
IdDescriptionRoleCommandTimeoutIdleTimeoutDefaultArgumentsConnectionsMaxCapacityNumberOfWorkersWorkerTypeSecurityConfigurationGlueVersionRequestOrigin