Initiates a connection to a target (for example, an instance) for a Session Manager session. Returns a URL and token that can be used to open a WebSocket connection for sending input and receiving outputs.
ssm_start_session(Target, DocumentName, Parameters)
[required] The instance to connect to for the session.
The name of the SSM document to define the parameters and plugin
settings for the session. For example, SSM-SessionManagerRunShell
. If
no document name is provided, a shell to the instance is launched by
default.
Reserved for future use.
svc$start_session( Target = "string", DocumentName = "string", Parameters = list( list( "string" ) ) )
AWS CLI usage: start-session
is an interactive command that requires
the Session Manager plugin to be installed on the client machine making
the call. For information, see Install the Session Manager Plugin for the AWS CLI
in the AWS Systems Manager User Guide.
AWS Tools for PowerShell usage: Start-SSMSession is not currently supported by AWS Tools for PowerShell on Windows local machines.