AWS Fundamentals Logo
AWS Fundamentals
AWS::SSM::Session

SSM Session

Returns information about a Session Manager session.

Properties

2 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
Reason
string
Create-only
Target
string
Create-only

Return Values

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

AttributeTypeDescription
AccessTypestringThe access type for the session.
ArnstringThe Amazon Resource Name (ARN) of the session.
OwnerstringThe ID of the Amazon Web Services user that started the session.
SessionIdstringThe ID of the session.
StartDatestringThe date and time, in ISO-8601 Extended format, when the session began.
StatusstringThe status of the session.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

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

Resources:
  MyResource:
    Type: AWS::SSM::Session
    Properties:

Required IAM Permissions

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

read

ssm:DescribeSessions

list

ssm:DescribeSessions

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

ServiceSSM
Properties8
Required0
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.

ReasonTarget

External Links