Actions, resources, and condition keys for AWS Cloud9
AWS Cloud9 (service prefix: cloud9) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS Cloud9
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateEnvironmentEC2 |
Write |
|||
Tagging, Write |
||||
|
CreateEnvironmentMembership |
Write |
|||
|
DeleteEnvironment |
Write |
|||
|
DeleteEnvironmentMembership |
Write |
|||
|
DescribeEnvironmentMemberships |
Read |
|||
|
DescribeEnvironmentStatus |
Read |
|||
|
DescribeEnvironments |
Read |
|||
|
ListEnvironments |
Read |
|||
|
ListTagsForResource |
Read |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateEnvironment |
Write |
|||
|
UpdateEnvironmentMembership |
Write |
Actions defined by AWS Cloud9
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
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 |
Write |
|||
Grants permission to add an environment member to an AWS Cloud9 development environment |
Write |
|||
Grants permission to delete an AWS Cloud9 development environment. If the environment is hosted on an Amazon Elastic Compute Cloud (Amazon EC2) instance, also terminates the instance |
Write |
|||
Grants permission to delete an environment member from an AWS Cloud9 development environment |
Write |
|||
Grants permission to get information about environment members for an AWS Cloud9 development environment |
Read |
|||
Grants permission to get status information for an AWS Cloud9 development environment |
Read |
|||
Grants permission to get information about AWS Cloud9 development environments |
Read |
|||
Grants permission to get a list of AWS Cloud9 development environment identifiers |
Read |
|||
Grants permission to list tags for a cloud9 environment |
Read |
|||
Grants permission to add tags to a cloud9 environment |
Tagging, Write |
|||
Grants permission to remove tags from a cloud9 environment |
Tagging, Write |
|||
Grants permission to change the settings of an existing AWS Cloud9 development environment |
Write |
|||
Grants permission to change the settings of an existing environment member for an AWS Cloud9 development environment |
Write |
Permission-only actions for AWS Cloud9
The following actions are defined by AWS Cloud9 but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to start the Amazon EC2 instance that your AWS Cloud9 IDE connects to |
Write |
|||
Grants permission to create an AWS Cloud9 SSH development environment |
Write |
|||
Grants permission to create an authentication token that allows a connection between the AWS Cloud9 IDE and the user's environment |
Read |
|||
Grants permission to get details about the connection to the EC2 development environment, including host, user, and port |
Read |
|||
Grants permission to get details about the connection to the SSH development environment, including host, user, and port |
Read |
|||
Grants permission to get configuration information that's used to initialize the AWS Cloud9 IDE |
Read |
|||
Grants permission to get the AWS Cloud9 IDE settings for a specified development environment |
Read |
|||
Grants permission to get the AWS Cloud9 IDE settings for a specified environment member |
Read |
|||
Grants permission to get the migration experience for a cloud9 user |
Read |
|||
Grants permission to get the user's public SSH key, which is used by AWS Cloud9 to connect to SSH development environments |
Read |
|||
Grants permission to get the AWS Cloud9 IDE settings for a specified user |
Read |
|||
Grants permission to set AWS managed temporary credentials on the Amazon EC2 instance that's used by the AWS Cloud9 integrated development environment (IDE) |
Write |
|||
Grants permission to update the AWS Cloud9 IDE settings for a specified development environment |
Write |
|||
Grants permission to update the AWS Cloud9 IDE settings for a specified environment member |
Write |
|||
Grants permission to update details about the connection to the SSH development environment, including host, user, and port |
Write |
|||
Grants permission to update IDE-specific settings of an AWS Cloud9 user |
Write |
Resource types defined by AWS Cloud9
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:cloud9:${Region}:${Account}:environment:${ResourceId} |
Condition keys for AWS Cloud9
AWS Cloud9 defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |
|
Filters access by the AWS Cloud9 environment ID |
String |
|
Filters access by the AWS Cloud9 environment name |
String |
|
Filters access by the instance type of the AWS Cloud9 environment's Amazon EC2 instance |
String |
|
Filters access by the owner ARN specified |
ARN |
|
Filters access by the type of AWS Cloud9 permissions |
String |
|
Filters access by the subnet ID that the AWS Cloud9 environment will be created in |
String |
|
Filters access by the user ARN specified |
ARN |