Values_0.CreateAssociationResultSourceA State Manager association defines the state that you want to maintain on your managed nodes. For example, an association can specify that anti-virus software must be installed and running on your managed nodes, or that certain ports must be closed. For static targets, the association specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an Amazon Web Services resource group or an Amazon Web Services autoscaling group, State Manager, a tool in Amazon Web Services Systems Manager applies the configuration when new managed nodes are added to the group. The association also specifies actions to take when applying the configuration. For example, an association for anti-virus software might run once a day. If the software isn't installed, then State Manager installs it. If the software is installed, but the service isn't running, then the association might instruct State Manager to start the service.
type nonrec t = {associationDescription : AssociationDescription.t option;Information about the association.
*)}type nonrec error = [ | `AssociationAlreadyExists of AssociationAlreadyExists.t| `AssociationLimitExceeded of AssociationLimitExceeded.t| `InternalServerError of InternalServerError.t| `InvalidDocument of InvalidDocument.t| `InvalidDocumentVersion of InvalidDocumentVersion.t| `InvalidInstanceId of InvalidInstanceId.t| `InvalidOutputLocation of InvalidOutputLocation.t| `InvalidParameters of InvalidParameters.t| `InvalidSchedule of InvalidSchedule.t| `InvalidTag of InvalidTag.t| `InvalidTarget of InvalidTarget.t| `InvalidTargetMaps of InvalidTargetMaps.t| `UnsupportedPlatformType of UnsupportedPlatformType.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AssociationAlreadyExists of unit
| `AssociationLimitExceeded of unit
| `InternalServerError of InternalServerError.t
| `InvalidDocument of InvalidDocument.t
| `InvalidDocumentVersion of InvalidDocumentVersion.t
| `InvalidInstanceId of InvalidInstanceId.t
| `InvalidOutputLocation of unit
| `InvalidParameters of InvalidParameters.t
| `InvalidSchedule of InvalidSchedule.t
| `InvalidTag of InvalidTag.t
| `InvalidTarget of InvalidTarget.t
| `InvalidTargetMaps of InvalidTargetMaps.t
| `Unknown_operation_error of string * string option
| `UnsupportedPlatformType of UnsupportedPlatformType.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AssociationAlreadyExists of unit
| `AssociationLimitExceeded of unit
| `InternalServerError of InternalServerError.t
| `InvalidDocument of InvalidDocument.t
| `InvalidDocumentVersion of InvalidDocumentVersion.t
| `InvalidInstanceId of InvalidInstanceId.t
| `InvalidOutputLocation of unit
| `InvalidParameters of InvalidParameters.t
| `InvalidSchedule of InvalidSchedule.t
| `InvalidTag of InvalidTag.t
| `InvalidTarget of InvalidTarget.t
| `InvalidTargetMaps of InvalidTargetMaps.t
| `Unknown_operation_error of string * string option
| `UnsupportedPlatformType of UnsupportedPlatformType.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of ApplyOnlyAtCronInterval.t
| `Enum of string
| `Integer of ScheduleOffset.t
| `List of
[> `Map of
([> `String of TargetMapKey.t ]
* [> `List of [> `String of TargetMapValue.t ] list ])
list
| `String of CalendarNameOrARN.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of TargetValue.t
| `Structure of
(string
* [> `List of [> `String of TargetValue.t ] list
| `String of TargetKey.t ])
list ]
list
| `String of TargetKey.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `Structure of
(string * [> `String of AlarmName.t ])
list ]
list ])
list ])
list ]
list
| `Map of
([> `String of ParameterName.t ]
* [> `List of [> `String of ParameterValue.t ] list ])
list
| `String of DocumentARN.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `Structure of
(string * [> `String of AlarmName.t ]) list ]
list
| `Map of
([> `String of StatusName.t ]
* [> `Integer of InstanceCount.t ])
list
| `String of StatusMessage.t
| `Structure of
(string * [> `String of S3Region.t ]) list
| `Timestamp of DateTime.t ])
list
| `Timestamp of DateTime.t ])
list ])
list ]