bastion:session
Overview and basic usage
Starts session with bastion host
- Your stack must contain
bastion
resource type to perform this command. - If you do not specify
--bastionResource
argument when using this command, random bastion from your stack is used. - Session is established using secured SSM connection.
- For more information refer to bastion docs.
Copy
stacktape bastion:session --stage <<stage>> --region <<region>>
API reference
Options
region (--r)
Required
stage (--s)
Required
awsAccount (--aa)
bastionResource (--br)
configPath (--cp)
currentWorkingDirectory (--cwd)
help (--h)
logFormat (--lf)
logLevel (--ll)
profile (--p)
projectName (--prj)
templateId (--ti)