CloudFront.Function
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionmetadata.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-keyvaluestoreassociation.html
and function_config = {
comment : string;
runtime : string;
key_value_store_associations : key_value_store_association list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html
type properties = {
function_config : function_config;
function_metadata : function_metadata option;
auto_publish : bool option;
function_code : string;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html;
val make_properties :
function_config:function_config ->
?function_metadata:function_metadata ->
?auto_publish:bool ->
function_code:string ->
name:string ->
unit ->
properties
val make_function_metadata : ?function_arn:string -> unit -> function_metadata
val make_key_value_store_association :
key_value_store_arn:string ->
unit ->
key_value_store_association
val make_function_config :
comment:string ->
runtime:string ->
?key_value_store_associations:key_value_store_association list ->
unit ->
function_config
val yojson_of_function_metadata :
function_metadata ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_key_value_store_association :
key_value_store_association ->
Yojson.Safe.t
val yojson_of_function_config :
function_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes