class Amazonite::Ssm::Session

Overview

Information about a Session Manager connection to a managed node.

Included Modules

Defined in:

ssm/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(session_id : String | Nil = nil, target : String | Nil = nil, status : SessionStatus | Nil = nil, start_date : Time | Nil = nil, end_date : Time | Nil = nil, document_name : String | Nil = nil, owner : String | Nil = nil, reason : String | Nil = nil, details : String | Nil = nil, output_url : SessionManagerOutputUrl | Nil = nil, max_session_duration : String | Nil = nil, access_type : AccessType | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def access_type : AccessType | Nil #

Standard access type is the default for Session Manager sessions. JustInTime is the access type for Just-in-time node access.


[View source]
def access_type=(access_type : AccessType | Nil) #

Standard access type is the default for Session Manager sessions. JustInTime is the access type for Just-in-time node access.


[View source]
def details : String | Nil #

Reserved for future use.


[View source]
def details=(details : String | Nil) #

Reserved for future use.


[View source]
def document_name : String | Nil #

The name of the Session Manager SSM document used to define the parameters and plugin settings for the session. For example, SSM-SessionManagerRunShell.


[View source]
def document_name=(document_name : String | Nil) #

The name of the Session Manager SSM document used to define the parameters and plugin settings for the session. For example, SSM-SessionManagerRunShell.


[View source]
def end_date : Time | Nil #

The date and time, in ISO-8601 Extended format, when the session was terminated.


[View source]
def end_date=(end_date : Time | Nil) #

The date and time, in ISO-8601 Extended format, when the session was terminated.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def max_session_duration : String | Nil #

The maximum duration of a session before it terminates.


[View source]
def max_session_duration=(max_session_duration : String | Nil) #

The maximum duration of a session before it terminates.


[View source]
def output_url : SessionManagerOutputUrl | Nil #

Reserved for future use.


[View source]
def output_url=(output_url : SessionManagerOutputUrl | Nil) #

Reserved for future use.


[View source]
def owner : String | Nil #

The ID of the Amazon Web Services user that started the session.


[View source]
def owner=(owner : String | Nil) #

The ID of the Amazon Web Services user that started the session.


[View source]
def reason : String | Nil #

The reason for connecting to the instance.


[View source]
def reason=(reason : String | Nil) #

The reason for connecting to the instance.


[View source]
def session_id : String | Nil #

The ID of the session.


[View source]
def session_id=(session_id : String | Nil) #

The ID of the session.


[View source]
def start_date : Time | Nil #

The date and time, in ISO-8601 Extended format, when the session began.


[View source]
def start_date=(start_date : Time | Nil) #

The date and time, in ISO-8601 Extended format, when the session began.


[View source]
def status : SessionStatus | Nil #

The status of the session. For example, "Connected" or "Terminated".


[View source]
def status=(status : SessionStatus | Nil) #

The status of the session. For example, "Connected" or "Terminated".


[View source]
def target : String | Nil #

The managed node that the Session Manager session connected to.


[View source]
def target=(target : String | Nil) #

The managed node that the Session Manager session connected to.


[View source]
def validate! : Nil #

[View source]