Module Values.LambdaExecutionParametersSource

Contains parameters for a Lambda function that runs on IoT Greengrass.

Sourcetype nonrec t = {
  1. eventSources : LambdaEventSourceList.t option;
    (*

    The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

    *)
  2. maxQueueSize : OptionalInteger.t option;
    (*

    The maximum size of the message queue for the Lambda function component. The IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.

    *)
  3. maxInstancesCount : OptionalInteger.t option;
    (*

    The maximum number of instances that a non-pinned Lambda function can run at the same time.

    *)
  4. maxIdleTimeInSeconds : OptionalInteger.t option;
    (*

    The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass Core software stops its process.

    *)
  5. timeoutInSeconds : OptionalInteger.t option;
    (*

    The maximum amount of time in seconds that the Lambda function can process a work item.

    *)
  6. statusTimeoutInSeconds : OptionalInteger.t option;
    (*

    The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.

    *)
  7. pinned : OptionalBoolean.t option;
    (*

    Whether or not the Lambda function is pinned, or long-lived. A pinned Lambda function starts when IoT Greengrass starts and keeps running in its own container. A non-pinned Lambda function starts only when it receives a work item and exists after it idles for maxIdleTimeInSeconds. If the function has multiple work items, the IoT Greengrass Core software creates multiple instances of the function. Default: true

    *)
  8. inputPayloadEncodingType : LambdaInputPayloadEncodingType.t option;
    (*

    The encoding type that the Lambda function supports. Default: json

    *)
  9. execArgs : LambdaExecArgsList.t option;
    (*

    The list of arguments to pass to the Lambda function when it runs.

    *)
  10. environmentVariables : LambdaEnvironmentVariables.t option;
    (*

    The map of environment variables that are available to the Lambda function when it runs.

    *)
  11. linuxProcessParams : LambdaLinuxProcessParams.t option;
    (*

    The parameters for the Linux process that contains the Lambda function.

    *)
}
Sourceval make : ?eventSources:??? -> ?maxQueueSize:??? -> ?maxInstancesCount:??? -> ?maxIdleTimeInSeconds:??? -> ?timeoutInSeconds:??? -> ?statusTimeoutInSeconds:??? -> ?pinned:??? -> ?inputPayloadEncodingType:??? -> ?execArgs:??? -> ?environmentVariables:??? -> ?linuxProcessParams:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of OptionalBoolean.t | `Enum of string | `Integer of OptionalInteger.t | `List of [> `String of LambdaExecArg.t | `Structure of (string * [> `Enum of string | `String of TopicString.t ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Boolean of OptionalBoolean.t | `Integer of OptionalInteger.t | `List of [> `Structure of (string * [> `Boolean of OptionalBoolean.t | `Enum of string | `String of FileSystemPath.t ]) list ] list ]) list ]) list ]) 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