class Amazonite::Ssm::StartSessionRequest

Included Modules

Defined in:

ssm/start_session_request.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(target : String, document_name : String | Nil = nil, reason : String | Nil = nil, parameters : Hash(String, Array(String)) | 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 document_name : String | Nil #

The name of the SSM document you want to use to define the type of session, input parameters, or preferences for the session. For example, SSM-SessionManagerRunShell. You can call the GetDocument API to verify the document exists before attempting to start a session. If no document name is provided, a shell to the managed node is launched by default. For more information, see Start a session in the Amazon Web Services Systems Manager User Guide.


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

The name of the SSM document you want to use to define the type of session, input parameters, or preferences for the session. For example, SSM-SessionManagerRunShell. You can call the GetDocument API to verify the document exists before attempting to start a session. If no document name is provided, a shell to the managed node is launched by default. For more information, see Start a session in the Amazon Web Services Systems Manager User Guide.


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

See Object#hash(hasher)


def parameters : Hash(String, Array(String)) | Nil #

The values you want to specify for the parameters defined in the Session document. For more information about these parameters, see Create a Session Manager preferences document in the Amazon Web Services Systems Manager User Guide.


[View source]
def parameters=(parameters : Hash(String, Array(String)) | Nil) #

The values you want to specify for the parameters defined in the Session document. For more information about these parameters, see Create a Session Manager preferences document in the Amazon Web Services Systems Manager User Guide.


[View source]
def reason : String | Nil #

The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.


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

The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.


[View source]
def target : String #

The managed node to connect to for the session.


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

The managed node to connect to for the session.


[View source]
def validate! : Nil #

[View source]