interface DeviceDefinitionVersionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Greengrass.CfnDeviceDefinition.DeviceDefinitionVersionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnDeviceDefinition_DeviceDefinitionVersionProperty |
Java | software.amazon.awscdk.services.greengrass.CfnDeviceDefinition.DeviceDefinitionVersionProperty |
Python | aws_cdk.aws_greengrass.CfnDeviceDefinition.DeviceDefinitionVersionProperty |
TypeScript | aws-cdk-lib » aws_greengrass » CfnDeviceDefinition » DeviceDefinitionVersionProperty |
A device definition version contains a list of devices .
After you create a device definition version that contains the devices you want to deploy, you must add it to your group version. For more information, see
AWS::Greengrass::Group.
In an AWS CloudFormation template, DeviceDefinitionVersion is the property type of the InitialVersion property in the AWS::Greengrass::DeviceDefinition resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from 'aws-cdk-lib';
const deviceDefinitionVersionProperty: greengrass.CfnDeviceDefinition.DeviceDefinitionVersionProperty = {
devices: [{
certificateArn: 'certificateArn',
id: 'id',
thingArn: 'thingArn',
// the properties below are optional
syncShadow: false,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| devices | IResolvable | (IResolvable | Device)[] | The devices in this version. |
devices
Type:
IResolvable | (IResolvable | Device)[]
The devices in this version.

.NET
Go
Java
Python
TypeScript