Use UpdateEnvironment with a CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use UpdateEnvironment with a CLI

The following code examples show how to use UpdateEnvironment.

CLI
AWS CLI

To change the settings of an existing AWS Cloud9 development environment

This example changes the specified settings of the specified existing AWS Cloud9 development environment.

Command:

aws cloud9 update-environment --environment-id 8a34f51ce1e04a08882f1e811bd706EX --name my-changed-demo-env --description "My changed demonstration development environment."

Output:

None.
PowerShell
Tools for PowerShell

Example 1: This example changes the specified settings of the specified existing AWS Cloud9 development environment.

Update-C9Environment -EnvironmentId ffd88420d4824eeeaeaa8a04bfde8cEX -Description "My changed demonstration development environment." -Name my-changed-demo-env
  • For API details, see UpdateEnvironment in AWS Tools for PowerShell Cmdlet Reference.