interface DeviceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnDeviceDefinitionVersionPropsMixin.DeviceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnDeviceDefinitionVersionPropsMixin_DeviceProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnDeviceDefinitionVersionPropsMixin.DeviceProperty |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnDeviceDefinitionVersionPropsMixin.DeviceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnDeviceDefinitionVersionPropsMixin » DeviceProperty |
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 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 { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
const deviceProperty: greengrass_mixins.CfnDeviceDefinitionVersionPropsMixin.DeviceProperty = {
certificateArn: 'certificateArn',
id: 'id',
syncShadow: false,
thingArn: 'thingArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| certificate | string | The ARN of the device certificate for the device. |
| id? | string | A descriptive or arbitrary ID for the device. |
| sync | boolean | IResolvable | Indicates whether the device's local shadow is synced with the cloud automatically. |
| thing | string | The Amazon Resource Name (ARN) of the device, which is an AWS IoT device (thing). |
certificateArn?
Type:
string
(optional)
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.
id?
Type:
string
(optional)
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:_-]+ .
syncShadow?
Type:
boolean | IResolvable
(optional)
Indicates whether the device's local shadow is synced with the cloud automatically.
thingArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the device, which is an AWS IoT device (thing).

.NET
Go
Java
Python
TypeScript