Module Values.FunctionCodeSource

The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

Sourcetype nonrec t = {
  1. zipFile : Blob.t option;
    (*

    The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.

    *)
  2. s3Bucket : S3Bucket.t option;
    (*

    An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

    *)
  3. s3Key : S3Key.t option;
    (*

    The Amazon S3 key of the deployment package.

    *)
  4. s3ObjectVersion : S3ObjectVersion.t option;
    (*

    For versioned objects, the version of the deployment package object to use.

    *)
  5. imageUri : String_.t option;
    (*

    URI of a container image in the Amazon ECR registry.

    *)
  6. sourceKMSKeyArn : KMSKeyArn.t option;
    (*

    The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.

    *)
}
Sourceval make : ?zipFile:??? -> ?s3Bucket:??? -> ?s3Key:??? -> ?s3ObjectVersion:??? -> ?imageUri:??? -> ?sourceKMSKeyArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Blob.t | `String of S3Bucket.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