Module Values_0.AssociationSource

Describes an association of a Amazon Web Services Systems Manager document (SSM document) and a managed node.

Sourcetype nonrec t = {
  1. name : DocumentARN.t option;
    (*

    The name of the SSM document.

    *)
  2. instanceId : InstanceId.t option;
    (*

    The managed node ID.

    *)
  3. associationId : AssociationId.t option;
    (*

    The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.

    *)
  4. associationVersion : AssociationVersion.t option;
    (*

    The association version.

    *)
  5. documentVersion : DocumentVersion.t option;
    (*

    The version of the document used in the association. If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval parameter. State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default.

    *)
  6. targets : Targets.t option;
    (*

    The managed nodes targeted by the request to create an association. You can target all managed nodes in an Amazon Web Services account by specifying the InstanceIds key with a value of *.

    *)
  7. lastExecutionDate : DateTime.t option;
    (*

    The date on which the association was last run.

    *)
  8. overview : AssociationOverview.t option;
    (*

    Information about the association.

    *)
  9. scheduleExpression : ScheduleExpression.t option;
    (*

    A cron expression that specifies a schedule when the association runs. The schedule runs in Coordinated Universal Time (UTC).

    *)
  10. associationName : AssociationName.t option;
    (*

    The association name.

    *)
  11. scheduleOffset : ScheduleOffset.t option;
    (*

    Number of days to wait after the scheduled day to run an association.

    *)
  12. duration : Duration.t option;
    (*

    The number of hours that an association can run on specified targets. After the resulting cutoff time passes, associations that are currently running are cancelled, and no pending executions are started on remaining targets.

    *)
  13. targetMaps : TargetMaps.t option;
    (*

    A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

    *)
}
Sourceval make : ?name:??? -> ?instanceId:??? -> ?associationId:??? -> ?associationVersion:??? -> ?documentVersion:??? -> ?targets:??? -> ?lastExecutionDate:??? -> ?overview:??? -> ?scheduleExpression:??? -> ?associationName:??? -> ?scheduleOffset:??? -> ?duration:??? -> ?targetMaps:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ScheduleOffset.t | `List of [> `Map of ([> `String of TargetMapKey.t ] * [> `List of [> `String of TargetMapValue.t ] list ]) list | `Structure of (string * [> `List of [> `String of TargetValue.t ] list | `String of TargetKey.t ]) list ] list | `String of DocumentARN.t | `Structure of (string * [> `Map of ([> `String of StatusName.t ] * [> `Integer of InstanceCount.t ]) list | `String of StatusName.t ]) list | `Timestamp of DateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t