CmdID / aws / aws cloud9
aws cloud9 update-environment-membership
Changes the settings of an existing environment member for an Cloud9 development environment. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To change the settings of an existing environment member for an AWS Cloud9 development environment
The following update-environment-membership example changes the settings of the specified existing environment member for the specified AWS Cloud9 development environment.
aws cloud9 update-environment-membership --environment-id 8a34f51ce1e04a08882f1e811bd706EX --user-arn arn:aws:iam::123456789012:user/AnotherDemoUser --permissions read-onlyIdentify--environment-idThe ID of the environment for the environment member whose settings you want to change.--user-arnThe Amazon Resource Name (ARN) of the environment member whose settings you want to change.--permissionsThe replacement type of environment member permissions you want to associate with this environment member.Its output
{
"membership": {
"environmentId": "8a34f51ce1e04a08882f1e811bd706EX",
"userId": "AIDAJ3LOROMOUXTBSU6EX",
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
"permissions": "read-only"
}
}For more information, see Working with shared environment in AWS Cloud9 in the AWS Cloud9 User Guide.
Options
--environment-idThe ID of the environment for the environment member whose settings you want to change.--permissionsThe replacement type of environment member permissions you want to associate with this environment member.--user-arnThe Amazon Resource Name (ARN) of the environment member whose settings you want to change.