Class CfnDeviceDefinitionVersionPropsMixin
The AWS::Greengrass::DeviceDefinitionVersion resource represents a device definition version for AWS IoT Greengrass .
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDeviceDefinitionVersionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnDeviceDefinitionVersionPropsMixin Inherits Mixin Implements IMixin
Remarks
A device definition version contains a list of devices.
To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html"><code>AWS::Greengrass::DeviceDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::DeviceDefinitionVersion
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins;
var cfnDeviceDefinitionVersionPropsMixin = new CfnDeviceDefinitionVersionPropsMixin(new CfnDeviceDefinitionVersionMixinProps {
DeviceDefinitionId = "deviceDefinitionId",
Devices = new [] { new DeviceProperty {
CertificateArn = "certificateArn",
Id = "id",
SyncShadow = false,
ThingArn = "thingArn"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnDeviceDefinitionVersionPropsMixin(ICfnDeviceDefinitionVersionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnDeviceDefinitionVersionPropsMixin(ICfnDeviceDefinitionVersionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Greengrass::DeviceDefinitionVersion.
public CfnDeviceDefinitionVersionPropsMixin(ICfnDeviceDefinitionVersionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnDeviceDefinitionVersionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
A device definition version contains a list of devices.
To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html"><code>AWS::Greengrass::DeviceDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::DeviceDefinitionVersion
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::Greengrass::DeviceDefinitionVersion resource represents a device definition version for AWS IoT Greengrass .
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
A device definition version contains a list of devices.
To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html"><code>AWS::Greengrass::DeviceDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::DeviceDefinitionVersion
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins;
var cfnDeviceDefinitionVersionPropsMixin = new CfnDeviceDefinitionVersionPropsMixin(new CfnDeviceDefinitionVersionMixinProps {
DeviceDefinitionId = "deviceDefinitionId",
Devices = new [] { new DeviceProperty {
CertificateArn = "certificateArn",
Id = "id",
SyncShadow = false,
ThingArn = "thingArn"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
The AWS::Greengrass::DeviceDefinitionVersion resource represents a device definition version for AWS IoT Greengrass .
protected virtual ICfnDeviceDefinitionVersionMixinProps Props { get; }
Property Value
ICfnDeviceDefinitionVersionMixinProps
Remarks
A device definition version contains a list of devices.
To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html"><code>AWS::Greengrass::DeviceDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::DeviceDefinitionVersion
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins;
var cfnDeviceDefinitionVersionPropsMixin = new CfnDeviceDefinitionVersionPropsMixin(new CfnDeviceDefinitionVersionMixinProps {
DeviceDefinitionId = "deviceDefinitionId",
Devices = new [] { new DeviceProperty {
CertificateArn = "certificateArn",
Id = "id",
SyncShadow = false,
ThingArn = "thingArn"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
The AWS::Greengrass::DeviceDefinitionVersion resource represents a device definition version for AWS IoT Greengrass .
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
A device definition version contains a list of devices.
To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html"><code>AWS::Greengrass::DeviceDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::DeviceDefinitionVersion
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins;
var cfnDeviceDefinitionVersionPropsMixin = new CfnDeviceDefinitionVersionPropsMixin(new CfnDeviceDefinitionVersionMixinProps {
DeviceDefinitionId = "deviceDefinitionId",
Devices = new [] { new DeviceProperty {
CertificateArn = "certificateArn",
Id = "id",
SyncShadow = false,
ThingArn = "thingArn"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
A device definition version contains a list of devices.
To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html"><code>AWS::Greengrass::DeviceDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::DeviceDefinitionVersion
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
A device definition version contains a list of devices.
To create a device definition version, you must specify the ID of the device definition that you want to associate with the version. For information about creating a device definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html"><code>AWS::Greengrass::DeviceDefinition</code></a> .
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 .
CloudformationResource: AWS::Greengrass::DeviceDefinitionVersion
Mixin: true
ExampleMetadata: fixture=_generated