Interface CfnDeviceDefinitionVersion.DeviceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeviceDefinitionVersion.DeviceProperty.Jsii$Proxy
- Enclosing class:
CfnDeviceDefinitionVersion
@Stability(Stable)
public static interface CfnDeviceDefinitionVersion.DeviceProperty
extends software.amazon.jsii.JsiiSerializable
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 AWS::Greengrass::DeviceDefinitionVersion
resource contains a list of Device
property types.
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.greengrass.*; DeviceProperty deviceProperty = DeviceProperty.builder() .certificateArn("certificateArn") .id("id") .thingArn("thingArn") // the properties below are optional .syncShadow(false) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDeviceDefinitionVersion.DeviceProperty
static final class
An implementation forCfnDeviceDefinitionVersion.DeviceProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The ARN of the device certificate for the device.getId()
A descriptive or arbitrary ID for the device.default Object
Indicates whether the device's local shadow is synced with the cloud automatically.The Amazon Resource Name (ARN) of the device, which is an AWS IoT device (thing).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificateArn
The 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.
- See Also:
-
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:_-]+
.- See Also:
-
getThingArn
The Amazon Resource Name (ARN) of the device, which is an AWS IoT device (thing).- See Also:
-
getSyncShadow
Indicates whether the device's local shadow is synced with the cloud automatically.- See Also:
-
builder
-