getEnvironment

Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such as applications in a Production environment or in an EU_Region 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.

Samples


fun main() { 
   //sampleStart 
   // The following get environment example returns the details and state of the specified environment.
val resp = appConfigClient.getEnvironment {
    applicationId = "339ohji"
    environmentId = "54j1r29"
} 
   //sampleEnd
}