AWS Cloud9 is no longer available to new customers. Existing customers of
AWS Cloud9 can continue to use the service as normal.
Learn more
This step shows how you can change the access role of an environment member. You can also use code to change the access role and update the AWS Cloud9 environment membership.
-
Open the environment that you own and that contains the member whose access role you want to change, if the environment isn't already open. For more information, see Opening an Environment in AWS Cloud9.
-
If the list of members isn't visible, expand Environment Members in the Collaborate window.
-
Do one of the following actions:
-
Next to the member name whose access role that you want to change, choose R or RW to make this member owner or read/write, respectively.
-
To change a read/write member to read-only, open the context (right-click) menu for the member name, and then choose Revoke Write Access.
-
To change a read-only member to read/write, open the context (right-click) menu for the member name, and then choose Grant Read+Write Access.
Note
If you make this user a read/write member, a dialog box is displayed, containing information about possibly putting your AWS security credentials at risk. Unless you trust that user to take actions in AWS on your behalf, don't make a user a read/write member. For more information, see the related note in Invite a User in the Same Account as the Environment.
-
To use code to change the access role of an environment member, call the AWS Cloud9 update environment membership operation, as follows.
AWS CLI |
|
AWS SDK for C++ |
UpdateEnvironmentMembershipRequest |
AWS SDK for Go |
UpdateEnvironmentMembership, UpdateEnvironmentMembershipRequest, UpdateEnvironmentMembershipWithContext |
AWS SDK for Java |
UpdateEnvironmentMembershipRequest, UpdateEnvironmentMembershipResult |
AWS SDK for JavaScript |
|
AWS SDK for .NET |
UpdateEnvironmentMembershipRequest, UpdateEnvironmentMembershipResponse |
AWS SDK for PHP |
|
AWS SDK for Python (Boto) |
|
AWS SDK for Ruby |
|
AWS Tools for Windows PowerShell |
|
AWS Cloud9 API |