Skip to content

Terminate Session

ssm_terminate_session R Documentation

Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the managed node

Description

Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the managed node. A terminated session can't be resumed.

Usage

ssm_terminate_session(SessionId)

Arguments

SessionId

[required] The ID of the session to terminate.

Value

A list with the following syntax:

list(
  SessionId = "string"
)

Request syntax

svc$terminate_session(
  SessionId = "string"
)