AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Greengrass::DeviceDefinitionVersion

CfnDeviceDefinitionVersion

The `AWS::Greengrass::DeviceDefinitionVersion` resource represents a device definition version for AWS IoT Greengrass . 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 [`AWS::Greengrass::DeviceDefinition`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html) . > > 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`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html) .

Import

import { CfnDeviceDefinitionVersion } from 'aws-cdk-lib/aws-greengrass';

Or use the module namespace:

import * as greengrass from 'aws-cdk-lib/aws-greengrass';
// greengrass.CfnDeviceDefinitionVersion

Properties

Configuration passed to the constructor as CfnDeviceDefinitionVersionProps.

deviceDefinitionIdRequired
string

The ID of the device definition associated with this version. This value is a GUID.

devicesRequired
IResolvable | IResolvable | DeviceProperty[]

The devices in this version.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter