Systems Manager Session

AWS Systems Manager Session provides a secure, interactive shell or remote desktop connection to your Amazon EC2 instances or on-premises servers without requiring inbound ports, bastion hosts, or SSH keys. It enables administrators to manage and troubleshoot systems directly through the AWS Management Console, CLI, or SDKs, improving security and simplifying access management.

aws.ssm_session

Fields

TitleIDTypeData TypeDescription
_keycorestring
access_typecorestring<code>Standard</code> access type is the default for Session Manager sessions. <code>JustInTime</code> is the access type for <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-just-in-time-node-access.html">Just-in-time node access</a>.
account_idcorestring
detailscorestringReserved for future use.
document_namecorestringThe name of the Session Manager SSM document used to define the parameters and plugin settings for the session. For example, SSM-SessionManagerRunShell.
end_datecoretimestampThe date and time, in ISO-8601 Extended format, when the session was terminated.
max_session_durationcorestringThe maximum duration of a session before it terminates.
output_urlcorejsonReserved for future use.
ownercorestringThe ID of the Amazon Web Services user that started the session.
reasoncorestringThe reason for connecting to the instance.
session_idcorestringThe ID of the session.
start_datecoretimestampThe date and time, in ISO-8601 Extended format, when the session began.
statuscorestringThe status of the session. For example, "Connected" or "Terminated".
tagscorehstore
targetcorestringThe managed node that the Session Manager session connected to.