Show / Hide Table of Contents

Class CfnDeviceDefinitionMixinProps

Properties for CfnDeviceDefinitionPropsMixin.

Inheritance
object
CfnDeviceDefinitionMixinProps
Implements
ICfnDeviceDefinitionMixinProps
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 CfnDeviceDefinitionMixinProps : ICfnDeviceDefinitionMixinProps
Syntax (vb)
Public Class CfnDeviceDefinitionMixinProps Implements ICfnDeviceDefinitionMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.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 tags;

             var cfnDeviceDefinitionMixinProps = new CfnDeviceDefinitionMixinProps {
                 InitialVersion = new DeviceDefinitionVersionProperty {
                     Devices = new [] { new DeviceProperty {
                         CertificateArn = "certificateArn",
                         Id = "id",
                         SyncShadow = false,
                         ThingArn = "thingArn"
                     } }
                 },
                 Name = "name",
                 Tags = tags
             };

Synopsis

Constructors

CfnDeviceDefinitionMixinProps()

Properties for CfnDeviceDefinitionPropsMixin.

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.

Constructors

CfnDeviceDefinitionMixinProps()

Properties for CfnDeviceDefinitionPropsMixin.

public CfnDeviceDefinitionMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.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 tags;

             var cfnDeviceDefinitionMixinProps = new CfnDeviceDefinitionMixinProps {
                 InitialVersion = new DeviceDefinitionVersionProperty {
                     Devices = new [] { new DeviceProperty {
                         CertificateArn = "certificateArn",
                         Id = "id",
                         SyncShadow = false,
                         ThingArn = "thingArn"
                     } }
                 },
                 Name = "name",
                 Tags = tags
             };

Properties

InitialVersion

The device definition version to include when the device definition is created.

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

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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.html"><code>AWS::Greengrass::DeviceDefinitionVersion</code></a> resource and specify the ID of this device definition.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-initialversion

Type union: either IResolvable or CfnDeviceDefinitionPropsMixin.IDeviceDefinitionVersionProperty

Name

The name of the device definition.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-name

Tags

Application-specific metadata to attach to the device definition.

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

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 CloudFormation templates.

"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-tags

Implements

ICfnDeviceDefinitionMixinProps
Back to top Generated by DocFX