CmdID / aws / aws appconfig
aws appconfig delete-environment
Deletes an environment. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To delete an environment
The following delete-environment example deletes the specified application environment.
aws appconfig delete-environment --application-id 339ohji --environment-id 54j1r29Identify--application-idThe application ID that includes the environment that you want to delete.--environment-idThe ID of the environment that you want to delete.This command produces no output.
For more information, see Step 2: Creating an environment in the AWS AppConfig User Guide.
Options
--application-idThe application ID that includes the environment that you want to delete.--deletion-protection-checkA parameter to configure deletion protection.--environment-idThe ID of the environment that you want to delete.