Module Greengrass.ResourceDefinition

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html

type group_owner_setting = {
  1. auto_add_group_owner : bool;
  2. group_owner : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html

and resource_download_owner_setting = {
  1. group_owner : string;
  2. group_permission : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedownloadownersetting.html

and secrets_manager_secret_resource_data = {
  1. arn : string;
  2. additional_staging_labels_to_download : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-secretsmanagersecretresourcedata.html

and s3_machine_learning_model_resource_data = {
  1. owner_setting : resource_download_owner_setting option;
  2. destination_path : string;
  3. s3_uri : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-s3machinelearningmodelresourcedata.html

and local_device_resource_data = {
  1. source_path : string;
  2. 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 = {
  1. source_path : string;
  2. destination_path : string;
  3. 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 = {
  1. owner_setting : resource_download_owner_setting option;
  2. destination_path : string;
  3. sage_maker_job_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata.html

and resource_data_container = {
  1. secrets_manager_secret_resource_data : secrets_manager_secret_resource_data option;
  2. sage_maker_machine_learning_model_resource_data : sage_maker_machine_learning_model_resource_data option;
  3. local_volume_resource_data : local_volume_resource_data option;
  4. local_device_resource_data : local_device_resource_data option;
  5. 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 = {
  1. resource_data_container : resource_data_container;
  2. id : string;
  3. name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourceinstance.html

and resource_definition_version = {
  1. resources : resource_instance list;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedefinitionversion.html

type properties = {
  1. initial_version : resource_definition_version option;
  2. tags : Yojson.Safe.t option;
  3. name : string;
}

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 ]
type attributes = {
  1. ref_ : string;
  2. latest_version_arn : string;
  3. id : string;
  4. arn : string;
  5. name : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string