CmdID / aws / aws appconfig
aws appconfig update-environment
Updates an environment. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To update an environment
The following update-environment example updates an environment's description.
aws appconfig update-environment --application-id 339ohji --environment-id 54j1r29 --description "An environment for examples."Identify--application-idThe application ID.--environment-idThe environment ID.--descriptionA description of the environment.Its output
{
"ApplicationId": "339ohji",
"Id": "54j1r29",
"Name": "Example-Environment",
"Description": "An environment for examples.",
"State": "RolledBack"
}For more information, see Step 2: Creating an environment in the AWS AppConfig User Guide.
Options
--application-idThe application ID.--descriptionA description of the environment.--environment-idThe environment ID.--monitorsAmazon CloudWatch alarms to monitor during the deployment process.--nameThe name of the environment.