Module Values.ComponentDependencyRequirementSource

Contains information about a component dependency for a Lambda function component.

Sourcetype nonrec t = {
  1. versionRequirement : NonEmptyString.t option;
    (*

    The component version requirement for the component dependency. IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.

    *)
  2. dependencyType : ComponentDependencyType.t option;
    (*

    The type of this dependency. Choose from the following options: SOFT – The component doesn't restart if the dependency changes state. HARD – The component restarts if the dependency changes state. Default: HARD

    *)
}
Sourceval make : ?versionRequirement:??? -> ?dependencyType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.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