Lightsail.Container
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-container.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-portinfo.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-environmentvariable.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-publicdomainname.html
and health_check_config = {
path : string option;
timeout_seconds : int option;
success_codes : string option;
unhealthy_threshold : int option;
healthy_threshold : int option;
interval_seconds : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-healthcheckconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-ecrimagepullerrole.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-privateregistryaccess.html
and container = {
container_name : string option;
command : string list option;
environment : environment_variable list option;
ports : port_info list option;
image : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-container.html
and public_endpoint = {
container_name : string option;
container_port : int option;
health_check_config : health_check_config option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-publicendpoint.html
and container_service_deployment = {
containers : container list option;
public_endpoint : public_endpoint option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-container-containerservicedeployment.html
type properties = {
public_domain_names : public_domain_name list option;
service_name : string;
private_registry_access : private_registry_access option;
container_service_deployment : container_service_deployment option;
is_disabled : bool option;
scale : int;
power : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-container.html;
val make_properties :
?public_domain_names:public_domain_name list ->
service_name:string ->
?private_registry_access:private_registry_access ->
?container_service_deployment:container_service_deployment ->
?is_disabled:bool ->
scale:int ->
power:string ->
?tags:tag list ->
unit ->
properties
val make_port_info : ?port:string -> ?protocol:string -> unit -> port_info
val make_tag : value:string -> key:string -> unit -> tag
val make_environment_variable :
?variable:string ->
?value:string ->
unit ->
environment_variable
val make_public_domain_name :
?certificate_name:string ->
?domain_names:string list ->
unit ->
public_domain_name
val make_health_check_config :
?path:string ->
?timeout_seconds:int ->
?success_codes:string ->
?unhealthy_threshold:int ->
?healthy_threshold:int ->
?interval_seconds:int ->
unit ->
health_check_config
val make_ecr_image_puller_role :
?principal_arn:string ->
?is_active:bool ->
unit ->
ecr_image_puller_role
val make_private_registry_access :
?ecr_image_puller_role:ecr_image_puller_role ->
unit ->
private_registry_access
val make_container :
?container_name:string ->
?command:string list ->
?environment:environment_variable list ->
?ports:port_info list ->
?image:string ->
unit ->
container
val make_public_endpoint :
?container_name:string ->
?container_port:int ->
?health_check_config:health_check_config ->
unit ->
public_endpoint
val make_container_service_deployment :
?containers:container list ->
?public_endpoint:public_endpoint ->
unit ->
container_service_deployment
val yojson_of_port_info : port_info -> Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_environment_variable : environment_variable -> Yojson.Safe.t
val yojson_of_public_domain_name :
public_domain_name ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_health_check_config : health_check_config -> Yojson.Safe.t
val yojson_of_ecr_image_puller_role : ecr_image_puller_role -> Yojson.Safe.t
val yojson_of_private_registry_access :
private_registry_access ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_container : container -> Yojson.Safe.t
val yojson_of_public_endpoint : public_endpoint -> Yojson.Safe.t
val yojson_of_container_service_deployment :
container_service_deployment ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes