AWS::Greengrass::ResourceDefinition ResourceInstance - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Greengrass::ResourceDefinition ResourceInstance

A local resource, machine learning resource, or secret resource. For more information, see Access Local Resources with Lambda Functions, Perform Machine Learning Inference, and Deploy Secrets to the Amazon IoT Greengrass Core in the Amazon IoT Greengrass Version 1 Developer Guide .

In an Amazon CloudFormation template, the Resources property of the AWS::Greengrass::ResourceDefinition resource contains a list of ResourceInstance property types.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Id" : String, "Name" : String, "ResourceDataContainer" : ResourceDataContainer }



A descriptive or arbitrary ID for the resource. This value must be unique within the resource definition version. Maximum length is 128 characters with pattern [a-zA-Z0-9:_-]+.

Required: Yes

Type: String

Update requires: Replacement


The descriptive resource name, which is displayed on the Amazon IoT Greengrass console. Maximum length 128 characters with pattern [a-zA-Z0-9:_-]+. This must be unique within a Greengrass group.

Required: Yes

Type: String

Update requires: Replacement


A container for resource data. The container takes only one of the following supported resource data types: LocalDeviceResourceData, LocalVolumeResourceData, SageMakerMachineLearningModelResourceData, S3MachineLearningModelResourceData, or SecretsManagerSecretResourceData.


Only one resource type can be defined for a ResourceDataContainer instance.

Required: Yes

Type: ResourceDataContainer

Update requires: Replacement

See also