PropertyContainer Class

The desired and reported properties of the twin. The maximum depth of the object is 10.

Inheritance
PropertyContainer

Constructor

PropertyContainer(**kwargs)

Parameters

desired
dict[str, object]
Required

The collection of desired property key-value pairs. The keys are UTF-8 encoded, case-sensitive and up-to 1KB in length. Allowed characters exclude UNICODE control characters (segments C0 and C1), '.', '$' and space. The desired porperty values are JSON objects, up-to 4KB in length.

reported
dict[str, object]
Required

The collection of reported property key-value pairs. The keys are UTF-8 encoded, case-sensitive and up-to 1KB in length. Allowed characters exclude UNICODE control characters (segments C0 and C1), '.', '$' and space. The reported property values are JSON objects, up-to 4KB in length.