CmdID

CmdID / aws / aws cloud9

aws cloud9 create-environment-membership

Adds an environment member to an Cloud9 development environment. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To add an environment member to an AWS Cloud9 development environment

The following create-environment-membership example adds the specified environment member to the specified AWS Cloud9 development environment.

aws cloud9 create-environment-membership --environment-id 8a34f51ce1e04a08882f1e811bd706EX --user-arn arn:aws:iam::123456789012:user/AnotherDemoUser --permissions read-writeIdentify
--environment-idThe ID of the environment that contains the environment member you want to add.
--user-arnThe Amazon Resource Name (ARN) of the environment member you want to add.
--permissionsThe 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-write"
    }
}

For more information, see Working with shared environment in AWS Cloud9 in the AWS Cloud9 User Guide.

Options

3 in the AWS CLI reference
--environment-idThe ID of the environment that contains the environment member you want to add.
--permissionsThe type of environment member permissions you want to associate with this environment member.
--user-arnThe Amazon Resource Name (ARN) of the environment member you want to add.