dcloud ec2 instances attach-sessionA fresh ticket to re-attach to your own session (the shell waits 60 s after a drop)
IAM ec2:StartSessionChanges state
Synopsis
dcloud ec2 instances attach-session id sessionIdArguments
<id>Requiredstring
Also accepted as
--id. Constraints: /^i-[0-9a-f]{6,32}$/<sessionId>Requiredstring
Also accepted as
--session-id. Constraints: /^ses-[0-9a-f]{16}$/
Example
dcloud ec2 instances attach-session id sessionIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.