AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Greengrass::ResourceDefinitionVersion

CfnResourceDefinitionVersion

The `AWS::Greengrass::ResourceDefinitionVersion` resource represents a resource definition version for AWS IoT Greengrass . A resource definition version contains a list of resources. (In CloudFormation , resources are named *resource instances* .) > To create a resource definition version, you must specify the ID of the resource definition that you want to associate with the version. For information about creating a resource definition, see [`AWS::Greengrass::ResourceDefinition`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html) . > > After you create a resource definition version that contains the resources 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 { CfnResourceDefinitionVersion } from 'aws-cdk-lib/aws-greengrass';

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnResourceDefinitionVersionProps.

resourceDefinitionIdRequired
string

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

resourcesRequired
IResolvable | IResolvable | ResourceInstanceProperty[]

The resources 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