Class CfnDeviceDefinition.DeviceDefinitionVersionProperty
A device definition version contains a list of devices .
Inheritance
System.Object
CfnDeviceDefinition.DeviceDefinitionVersionProperty
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class DeviceDefinitionVersionProperty : Object, CfnDeviceDefinition.IDeviceDefinitionVersionProperty
Syntax (vb)
Public Class DeviceDefinitionVersionProperty
Inherits Object
Implements CfnDeviceDefinition.IDeviceDefinitionVersionProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var deviceDefinitionVersionProperty = new DeviceDefinitionVersionProperty {
Devices = new [] { new DeviceProperty {
CertificateArn = "certificateArn",
Id = "id",
ThingArn = "thingArn",
// the properties below are optional
SyncShadow = false
} }
};
Synopsis
Constructors
DeviceDefinitionVersionProperty() |
Properties
Devices | The devices in this version. |
Constructors
DeviceDefinitionVersionProperty()
public DeviceDefinitionVersionProperty()
Properties
Devices
The devices in this version.
public object Devices { get; set; }
Property Value
System.Object