cloudshell:CreateSession

Write

cloudshell:CreateSession is a Write access-level action in the cloudshell service. Grants permissions to connect to a CloudShell environment from the AWS Management Console

Resource types

ARNs that cloudshell:CreateSession can be scoped to in an IAM policy.

arn:${Partition}:cloudshell:${Region}:${Account}:environment/${EnvironmentId}
Environment

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows cloudshell:CreateSession. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudshellCreateSession",
      "Effect": "Allow",
      "Action": "cloudshell:CreateSession",
      "Resource": "*"
    }
  ]
}

Related actions in cloudshell

View all cloudshell actions →