Module Lambda.Function

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html

type logging_config = {
  1. log_format : string option;
  2. application_log_level : string option;
  3. log_group : string option;
  4. system_log_level : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html

and dead_letter_config = {
  1. target_arn : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-deadletterconfig.html

and tag = {
  1. value : string;
  2. key : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

and vpc_config = {
  1. ipv6_allowed_for_dual_stack : bool option;
  2. security_group_ids : string list option;
  3. subnet_ids : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html

and snap_start = {
  1. apply_on : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstart.html

and file_system_config = {
  1. arn : string;
  2. local_mount_path : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html

and image_config = {
  1. working_directory : string option;
  2. command : string list option;
  3. entry_point : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-imageconfig.html

and tracing_config = {
  1. mode : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-tracingconfig.html

and snap_start_response = {
  1. optimization_status : string option;
  2. apply_on : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstartresponse.html

and ephemeral_storage = {
  1. size : int;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-ephemeralstorage.html

and code = {
  1. s3_object_version : string option;
  2. s3_bucket : string option;
  3. zip_file : string option;
  4. s3_key : string option;
  5. image_uri : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html

and environment = {
  1. variables : string Stdlib__Map.Make(Stdlib.String).t option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-environment.html

and runtime_management_config = {
  1. update_runtime_on : string;
  2. runtime_version_arn : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-runtimemanagementconfig.html

type properties = {
  1. description : string option;
  2. tracing_config : tracing_config option;
  3. vpc_config : vpc_config option;
  4. runtime_management_config : runtime_management_config option;
  5. reserved_concurrent_executions : int option;
  6. snap_start : snap_start option;
  7. file_system_configs : file_system_config list option;
  8. function_name : string option;
  9. runtime : string option;
  10. kms_key_arn : string option;
  11. package_type : string option;
  12. code_signing_config_arn : string option;
  13. layers : string list option;
  14. tags : tag list option;
  15. image_config : image_config option;
  16. memory_size : int option;
  17. dead_letter_config : dead_letter_config option;
  18. timeout : int option;
  19. handler : string option;
  20. code : code;
  21. role : string;
  22. logging_config : logging_config option;
  23. environment : environment option;
  24. ephemeral_storage : ephemeral_storage option;
  25. architectures : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html;

val make_properties : ?description:string -> ?tracing_config:tracing_config -> ?vpc_config:vpc_config -> ?runtime_management_config:runtime_management_config -> ?reserved_concurrent_executions:int -> ?snap_start:snap_start -> ?file_system_configs:file_system_config list -> ?function_name:string -> ?runtime:string -> ?kms_key_arn:string -> ?package_type:string -> ?code_signing_config_arn:string -> ?layers:string list -> ?tags:tag list -> ?image_config:image_config -> ?memory_size:int -> ?dead_letter_config:dead_letter_config -> ?timeout:int -> ?handler:string -> code:code -> role:string -> ?logging_config:logging_config -> ?environment:environment -> ?ephemeral_storage:ephemeral_storage -> ?architectures:string list -> unit -> properties
val make_logging_config : ?log_format:string -> ?application_log_level:string -> ?log_group:string -> ?system_log_level:string -> unit -> logging_config
val make_dead_letter_config : ?target_arn:string -> unit -> dead_letter_config
val make_tag : value:string -> key:string -> unit -> tag
val make_vpc_config : ?ipv6_allowed_for_dual_stack:bool -> ?security_group_ids:string list -> ?subnet_ids:string list -> unit -> vpc_config
val make_snap_start : apply_on:string -> unit -> snap_start
val make_file_system_config : arn:string -> local_mount_path:string -> unit -> file_system_config
val make_image_config : ?working_directory:string -> ?command:string list -> ?entry_point:string list -> unit -> image_config
val make_tracing_config : ?mode:string -> unit -> tracing_config
val make_snap_start_response : ?optimization_status:string -> ?apply_on:string -> unit -> snap_start_response
val make_ephemeral_storage : size:int -> unit -> ephemeral_storage
val make_code : ?s3_object_version:string -> ?s3_bucket:string -> ?zip_file:string -> ?s3_key:string -> ?image_uri:string -> unit -> code
val make_environment : ?variables:string Stdlib__Map.Make(Stdlib.String).t -> unit -> environment
val make_runtime_management_config : update_runtime_on:string -> ?runtime_version_arn:string -> unit -> runtime_management_config
val yojson_of_logging_config : logging_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_dead_letter_config : dead_letter_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_vpc_config : vpc_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_snap_start : snap_start -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_file_system_config : file_system_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_image_config : image_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_tracing_config : tracing_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_snap_start_response : snap_start_response -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_ephemeral_storage : ephemeral_storage -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_code : code -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_environment : environment -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_runtime_management_config : runtime_management_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. snap_start_response__optimization_status : string;
  3. snap_start_response__apply_on : string;
  4. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string