AWS::Greengrass::ResourceDefinitionVersion 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::ResourceDefinitionVersion 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::ResourceDefinitionVersion resource contains a list of ResourceInstance property types.

Syntax

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

JSON

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

Properties

Id

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

Name

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

ResourceDataContainer

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

Note

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

Required: Yes

Type: ResourceDataContainer

Update requires: Replacement

See also