cloudshell:CreateEnvironment

Write

cloudshell:CreateEnvironment is a Write access-level action in the cloudshell service. Grants permissions to create a CloudShell environment

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants cloudshell:CreateEnvironment.

cloudshell:SecurityGroupIds ArrayOfString

Filters access by security group ids. Available during CreateEnvironment operation

cloudshell:SubnetIds ArrayOfString

Filters access by subnet ids. Available during CreateEnvironment operation

cloudshell:VpcIds ArrayOfString

Filters access by vpc ids. Available during CreateEnvironment operation

Example IAM policy

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

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

Related actions in cloudshell

View all cloudshell actions →