class
Amazonite::Ssm::Session
- Amazonite::Ssm::Session
- Reference
- Object
Overview
Information about a Session Manager connection to a managed node.
Included Modules
- JSON::Serializable
Defined in:
ssm/session.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#access_type : AccessType | Nil
Standardaccess type is the default for Session Manager sessions. -
#access_type=(access_type : AccessType | Nil)
Standardaccess type is the default for Session Manager sessions. -
#details : String | Nil
Reserved for future use.
-
#details=(details : String | Nil)
Reserved for future use.
-
#document_name : String | Nil
The name of the Session Manager SSM document used to define the parameters and plugin settings for the session.
-
#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.
-
#end_date : Time | Nil
The date and time, in ISO-8601 Extended format, when the session was terminated.
-
#end_date=(end_date : Time | Nil)
The date and time, in ISO-8601 Extended format, when the session was terminated.
-
#hash(hasher)
See
Object#hash(hasher) -
#max_session_duration : String | Nil
The maximum duration of a session before it terminates.
-
#max_session_duration=(max_session_duration : String | Nil)
The maximum duration of a session before it terminates.
-
#output_url : SessionManagerOutputUrl | Nil
Reserved for future use.
-
#output_url=(output_url : SessionManagerOutputUrl | Nil)
Reserved for future use.
-
#owner : String | Nil
The ID of the Amazon Web Services user that started the session.
-
#owner=(owner : String | Nil)
The ID of the Amazon Web Services user that started the session.
-
#reason : String | Nil
The reason for connecting to the instance.
-
#reason=(reason : String | Nil)
The reason for connecting to the instance.
-
#session_id : String | Nil
The ID of the session.
-
#session_id=(session_id : String | Nil)
The ID of the session.
-
#start_date : Time | Nil
The date and time, in ISO-8601 Extended format, when the session began.
-
#start_date=(start_date : Time | Nil)
The date and time, in ISO-8601 Extended format, when the session began.
-
#status : SessionStatus | Nil
The status of the session.
-
#status=(status : SessionStatus | Nil)
The status of the session.
-
#target : String | Nil
The managed node that the Session Manager session connected to.
-
#target=(target : String | Nil)
The managed node that the Session Manager session connected to.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Standard access type is the default for Session Manager sessions. JustInTime is the access
type for Just-in-time node
access.
Standard access type is the default for Session Manager sessions. JustInTime is the access
type for Just-in-time node
access.
The name of the Session Manager SSM document used to define the parameters and plugin settings
for the session. For example, SSM-SessionManagerRunShell.
The name of the Session Manager SSM document used to define the parameters and plugin settings
for the session. For example, SSM-SessionManagerRunShell.
The date and time, in ISO-8601 Extended format, when the session was terminated.
The date and time, in ISO-8601 Extended format, when the session was terminated.
The maximum duration of a session before it terminates.
The date and time, in ISO-8601 Extended format, when the session began.
The date and time, in ISO-8601 Extended format, when the session began.
The status of the session. For example, "Connected" or "Terminated".
The status of the session. For example, "Connected" or "Terminated".
The managed node that the Session Manager session connected to.