Module Greengrass.DeviceDefinition

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

type device = {
  1. sync_shadow : bool option;
  2. thing_arn : string;
  3. id : string;
  4. certificate_arn : string;
}

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

and device_definition_version = {
  1. devices : device list;
}

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

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

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

val make_properties : ?initial_version:device_definition_version -> ?tags:Yojson.Safe.t -> name:string -> unit -> properties
val make_device : ?sync_shadow:bool -> thing_arn:string -> id:string -> certificate_arn:string -> unit -> device
val make_device_definition_version : devices:device list -> unit -> device_definition_version
val yojson_of_device : device -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_device_definition_version : device_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