AWS::Greengrass::ResourceDefinition ResourceInstance - AWS CloudFormation

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 AWS IoT Greengrass Core in the AWS IoT Greengrass Version 1 Developer Guide .

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

Syntax

To declare this entity in your AWS 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 AWS 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