Module Values_0.PresignedUrlConfigSource

Configuration for pre-signed S3 URLs.

Sourcetype nonrec t = {
  1. roleArn : RoleArn.t option;
    (*

    The ARN of an IAM role that grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files. For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.

    *)
  2. expiresInSec : ExpiresInSec.t option;
    (*

    How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document.

    *)
}
Sourceval make : ?roleArn:??? -> ?expiresInSec:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of ExpiresInSec.t | `String of RoleArn.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