Greengrass.ResourceDefinition
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedownloadownersetting.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-secretsmanagersecretresourcedata.html
and s3_machine_learning_model_resource_data = {
owner_setting : resource_download_owner_setting option;
destination_path : string;
s3_uri : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-s3machinelearningmodelresourcedata.html
and local_device_resource_data = {
source_path : string;
group_owner_setting : group_owner_setting option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localdeviceresourcedata.html
and local_volume_resource_data = {
source_path : string;
destination_path : string;
group_owner_setting : group_owner_setting option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html
and sage_maker_machine_learning_model_resource_data = {
owner_setting : resource_download_owner_setting option;
destination_path : string;
sage_maker_job_arn : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata.html
and resource_data_container = {
secrets_manager_secret_resource_data : secrets_manager_secret_resource_data
option;
sage_maker_machine_learning_model_resource_data : sage_maker_machine_learning_model_resource_data
option;
local_volume_resource_data : local_volume_resource_data option;
local_device_resource_data : local_device_resource_data option;
s3_machine_learning_model_resource_data : s3_machine_learning_model_resource_data
option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html
and resource_instance = {
resource_data_container : resource_data_container;
id : string;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourceinstance.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedefinitionversion.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html;
val make_properties :
?initial_version:resource_definition_version ->
?tags:Yojson.Safe.t ->
name:string ->
unit ->
properties
val make_group_owner_setting :
auto_add_group_owner:bool ->
?group_owner:string ->
unit ->
group_owner_setting
val make_resource_download_owner_setting :
group_owner:string ->
group_permission:string ->
unit ->
resource_download_owner_setting
val make_secrets_manager_secret_resource_data :
arn:string ->
?additional_staging_labels_to_download:string list ->
unit ->
secrets_manager_secret_resource_data
val make_s3_machine_learning_model_resource_data :
?owner_setting:resource_download_owner_setting ->
destination_path:string ->
s3_uri:string ->
unit ->
s3_machine_learning_model_resource_data
val make_local_device_resource_data :
source_path:string ->
?group_owner_setting:group_owner_setting ->
unit ->
local_device_resource_data
val make_local_volume_resource_data :
source_path:string ->
destination_path:string ->
?group_owner_setting:group_owner_setting ->
unit ->
local_volume_resource_data
val make_sage_maker_machine_learning_model_resource_data :
?owner_setting:resource_download_owner_setting ->
destination_path:string ->
sage_maker_job_arn:string ->
unit ->
sage_maker_machine_learning_model_resource_data
val make_resource_data_container :
?secrets_manager_secret_resource_data:secrets_manager_secret_resource_data ->
?sage_maker_machine_learning_model_resource_data:
sage_maker_machine_learning_model_resource_data ->
?local_volume_resource_data:local_volume_resource_data ->
?local_device_resource_data:local_device_resource_data ->
?s3_machine_learning_model_resource_data:
s3_machine_learning_model_resource_data ->
unit ->
resource_data_container
val make_resource_instance :
resource_data_container:resource_data_container ->
id:string ->
name:string ->
unit ->
resource_instance
val make_resource_definition_version :
resources:resource_instance list ->
unit ->
resource_definition_version
val yojson_of_group_owner_setting : group_owner_setting -> Yojson.Safe.t
val yojson_of_resource_download_owner_setting :
resource_download_owner_setting ->
Yojson.Safe.t
val yojson_of_secrets_manager_secret_resource_data :
secrets_manager_secret_resource_data ->
Yojson.Safe.t
val yojson_of_s3_machine_learning_model_resource_data :
s3_machine_learning_model_resource_data ->
Yojson.Safe.t
val yojson_of_local_device_resource_data :
local_device_resource_data ->
Yojson.Safe.t
val yojson_of_local_volume_resource_data :
local_volume_resource_data ->
Yojson.Safe.t
val yojson_of_sage_maker_machine_learning_model_resource_data :
sage_maker_machine_learning_model_resource_data ->
Yojson.Safe.t
val yojson_of_resource_data_container :
resource_data_container ->
Yojson.Safe.t
val yojson_of_resource_instance :
resource_instance ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_resource_definition_version :
resource_definition_version ->
[> `Assoc of
(string
* [> `List of [> `Assoc of (string * Yojson.Safe.t) list ] list ])
list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes