glue:DeleteSession

Write

glue:DeleteSession is a Write access-level action in the glue service. Grants permission to delete an interactive session after stopping the session if not already stopped

Resource types

ARNs that glue:DeleteSession can be scoped to in an IAM policy.

arn:${Partition}:glue:${Region}:${Account}:session/${SessionId}
session

Condition keys

Keys you can use in the Condition block of a policy that grants glue:DeleteSession.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows glue:DeleteSession. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGlueDeleteSession",
      "Effect": "Allow",
      "Action": "glue:DeleteSession",
      "Resource": "*"
    }
  ]
}

Related actions in glue

View all glue actions →