dcloud ec2 instances attach-session

A 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 sessionId

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^i-[0-9a-f]{6,32}$/

  • <sessionId>Required

    string

    Also accepted as --session-id. Constraints: /^ses-[0-9a-f]{16}$/

Example

dcloud ec2 instances attach-session id sessionId

Generated from the API description, the same one the API checks requests against and the CLI is built from.