Show / Hide Table of Contents

Class CfnDeviceDefinitionVersionPropsMixin.DeviceProperty

A device is an AWS IoT device (thing) that's added to a Greengrass group.

Inheritance
object
CfnDeviceDefinitionVersionPropsMixin.DeviceProperty
Implements
CfnDeviceDefinitionVersionPropsMixin.IDeviceProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDeviceDefinitionVersionPropsMixin.DeviceProperty : CfnDeviceDefinitionVersionPropsMixin.IDeviceProperty
Syntax (vb)
Public Class CfnDeviceDefinitionVersionPropsMixin.DeviceProperty Implements CfnDeviceDefinitionVersionPropsMixin.IDeviceProperty
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html

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.Mixins.Preview.AWS.Greengrass.Mixins;

             var deviceProperty = new DeviceProperty {
                 CertificateArn = "certificateArn",
                 Id = "id",
                 SyncShadow = false,
                 ThingArn = "thingArn"
             };

Synopsis

Constructors

DeviceProperty()

A device is an AWS IoT device (thing) that's added to a Greengrass group.

Properties

CertificateArn

The ARN of the device certificate for the device.

Id

A descriptive or arbitrary ID for the device.

SyncShadow

Indicates whether the device's local shadow is synced with the cloud automatically.

ThingArn

The Amazon Resource Name (ARN) of the device, which is an AWS IoT device (thing).

Constructors

DeviceProperty()

A device is an AWS IoT device (thing) that's added to a Greengrass group.

public DeviceProperty()
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html

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.Mixins.Preview.AWS.Greengrass.Mixins;

             var deviceProperty = new DeviceProperty {
                 CertificateArn = "certificateArn",
                 Id = "id",
                 SyncShadow = false,
                 ThingArn = "thingArn"
             };

Properties

CertificateArn

The ARN of the device certificate for the device.

public string? CertificateArn { get; set; }
Property Value

string

Remarks

This X.509 certificate is used to authenticate the device with AWS IoT and AWS IoT Greengrass services.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-certificatearn

Id

A descriptive or arbitrary ID for the device.

public string? Id { get; set; }
Property Value

string

Remarks

This value must be unique within the device definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+ .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-id

SyncShadow

Indicates whether the device's local shadow is synced with the cloud automatically.

public object? SyncShadow { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-syncshadow

Type union: either bool or IResolvable

ThingArn

The Amazon Resource Name (ARN) of the device, which is an AWS IoT device (thing).

public string? ThingArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-thingarn

Implements

CfnDeviceDefinitionVersionPropsMixin.IDeviceProperty
Back to top Generated by DocFX