Interface CfnThingProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:41.513Z")
@Stability(Stable)
public interface CfnThingProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnThing.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnThingProps cfnThingProps = CfnThingProps.builder()
.attributePayload(AttributePayloadProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.build())
.thingName("thingName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThingPropsstatic final classAn implementation forCfnThingProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnThingProps.Builderbuilder()default ObjectA string that contains up to three key value pairs.default StringThe name of the thing to update.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributePayload
A string that contains up to three key value pairs.Maximum length of 800. Duplicates not allowed.
Returns union: either
IResolvableorCfnThing.AttributePayloadProperty- See Also:
-
getThingName
The name of the thing to update.You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
- See Also:
-
builder
- Returns:
- a
CfnThingProps.BuilderofCfnThingProps
-