Interface CfnDeviceDefinition.DeviceProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnDeviceDefinition.DeviceProperty extends
A device is an AWS IoT device (thing) that's added to a Greengrass group.

Greengrass devices can communicate with the Greengrass core in the same group. For more information, see What Is AWS IoT Greengrass ? in the Developer Guide .

In an AWS CloudFormation template, the Devices property of the DeviceDefinitionVersion property type contains a list of Device property types.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 DeviceProperty deviceProperty = DeviceProperty.builder()
         // the properties below are optional
  • Method Details

    • getCertificateArn

      @Stability(Stable) @NotNull String getCertificateArn()
      The Amazon Resource Name (ARN) of the device certificate for the device.

      This X.509 certificate is used to authenticate the device with AWS IoT and AWS IoT Greengrass services.

    • getId

      @Stability(Stable) @NotNull String getId()
      A descriptive or arbitrary ID for the device.

      This value must be unique within the device definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+ .

    • getThingArn

      @Stability(Stable) @NotNull String getThingArn()
      The ARN of the device, which is an AWS IoT device (thing).
    • getSyncShadow

      @Stability(Stable) @Nullable default Object getSyncShadow()
      Indicates whether the device's local shadow is synced with the cloud automatically.
    • builder

      @Stability(Stable) static CfnDeviceDefinition.DeviceProperty.Builder builder()
      a CfnDeviceDefinition.DeviceProperty.Builder of CfnDeviceDefinition.DeviceProperty