OTA 任務組態設定 - 的受管整合 AWS IoT Device Management

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

OTA 任務組態設定

您可以建立 OTA 更新的組態,以控制如何將更新推展到裝置、設定中止條件,以及設定逾時。

範例:CreateOtaTaskConfiguration

使用下列範例來建立 OTA 任務組態:

aws iotmanagedintegrations create-ota-task-configuration \ --description "OTA configuration" \ --name "MyOtaConfig" \ --push-config '{ "AbortConfig": { "AbortConfigCriteriaList": [ { "Action": "CANCEL", "FailureType": "FAILED", "MinNumberOfExecutedThings": 1, "ThresholdPercentage": 90.0 } ] }, "RolloutConfig": { "ExponentialRolloutRate": { "BaseRatePerMinute": 1, "IncrementFactor": 3.0, "RateIncreaseCriteria": { "numberOfNotifiedThings": 1 } }, "MaximumPerMinute": 1 }, "TimeoutConfig": { "InProgressTimeoutInMinutes": 100 } }' \ --client-token "foo"