Values.EnvironmentSourceCreates an environment. For each application, you define one or more environments. An environment is a deployment group of AppConfig targets, such as applications in a Beta or Production environment. You can also define environments for application subcomponents such as the Web, Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.
type nonrec t = {applicationId : Id.t option;The application ID.
*)id : Id.t option;The environment ID.
*)name : Name.t option;The name of the environment.
*)description : Description.t option;The description of the environment.
*)state : EnvironmentState.t option;The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK
*)monitors : MonitorList.t option;Amazon CloudWatch alarms monitored during the deployment.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `String of StringWithLengthBetween1And2048.t ])
list ]
list
| `String of Id.t ])
list ]