aws iot create-ota-update

Creates an AWS IoT OTAUpdate on a target group of things or groups


--ota-update-id <string>The ID of the OTA update to be created
--description <string>The description of the OTA update
--targets <list>The devices targeted to receive OTA updates
--protocols <list>The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol
--target-selection <string>Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT
--aws-job-executions-rollout-config <structure>Configuration for the rollout of OTA updates
--aws-job-presigned-url-config <structure>Configuration information for pre-signed URLs
--aws-job-abort-config <structure>The criteria that determine when and how a job abort takes place
--aws-job-timeout-config <structure>Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT
--files <list>The files to be streamed by the OTA update
--role-arn <string>The IAM role that grants AWS IoT access to the Amazon S3, AWS IoT jobs and AWS Code Signing resources to create an OTA update job
--additional-parameters <map>A list of additional OTA update parameters which are name-value pairs
--tags <list>Metadata which can be used to manage updates
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command