Interface CfnThingProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnThingProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.638Z") @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();
 
  • Method Details

    • getAttributePayload

      @Stability(Stable) @Nullable default Object getAttributePayload()
      A string that contains up to three key value pairs.

      Maximum length of 800. Duplicates not allowed.

    • getThingName

      @Stability(Stable) @Nullable default String 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.

    • builder

      @Stability(Stable) static CfnThingProps.Builder builder()
      Returns:
      a CfnThingProps.Builder of CfnThingProps