Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such as applications in a <code>Production</code> environment or in an <code>EU_Region</code> environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.
get/applications/{ApplicationId}/environments/{EnvironmentId}
Path parameters
ApplicationIdstring required
The ID of the application that includes the environment you want to get.
EnvironmentIdstring required
The ID of the environment that you want to get.
Response
Success
Example response
{
"ApplicationId": "339ohji",
"Description": "An environment for examples.",
"Id": "54j1r29",
"Name": "Example-Environment",
"State": "ROLLED_BACK"
}