cloud9:CreateEnvironmentEC2

Write

cloud9:CreateEnvironmentEC2 is a Write access-level action in the cloud9 service. Grants permission to create an AWS Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then hosts the environment on the instance

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 cloud9:CreateEnvironmentEC2.

aws:RequestTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters access by the presence of tag keys in the request

cloud9:EnvironmentName String

Filters access by the AWS Cloud9 environment name

cloud9:InstanceType String

Filters access by the instance type of the AWS Cloud9 environment's Amazon EC2 instance

cloud9:OwnerArn ARN

Filters access by the owner ARN specified

cloud9:SubnetId String

Filters access by the subnet ID that the AWS Cloud9 environment will be created in

cloud9:UserArn ARN

Filters access by the user ARN specified

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloud9CreateEnvironmentEC2",
      "Effect": "Allow",
      "Action": "cloud9:CreateEnvironmentEC2",
      "Resource": "*"
    }
  ]
}

Related actions in cloud9

View all cloud9 actions →