Interface ICfnDeviceDefinitionProps
Properties for defining a CfnDeviceDefinition
.
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnDeviceDefinitionProps
Syntax (vb)
Public Interface ICfnDeviceDefinitionProps
Remarks
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 tags;
var cfnDeviceDefinitionProps = new CfnDeviceDefinitionProps {
Name = "name",
// the properties below are optional
InitialVersion = new DeviceDefinitionVersionProperty {
Devices = new [] { new DeviceProperty {
CertificateArn = "certificateArn",
Id = "id",
ThingArn = "thingArn",
// the properties below are optional
SyncShadow = false
} }
},
Tags = tags
};
Synopsis
Properties
InitialVersion | The device definition version to include when the device definition is created. |
Name | The name of the device definition. |
Tags | Application-specific metadata to attach to the device definition. |
Properties
InitialVersion
The device definition version to include when the device definition is created.
virtual object InitialVersion { get; }
Property Value
System.Object
Remarks
A device definition version contains a list of device
property types.
To associate a device definition version after the device definition is created, create an AWS::Greengrass::DeviceDefinitionVersion
resource and specify the ID of this device definition.
Name
The name of the device definition.
string Name { get; }
Property Value
System.String
Remarks
Tags
Application-specific metadata to attach to the device definition.
virtual object Tags { get; }
Property Value
System.Object
Remarks
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json
property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags
implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}