AWS::Greengrass::ResourceDefinition S3MachineLearningModelResourceData - 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 S3MachineLearningModelResourceData

Settings for an Amazon S3 machine learning resource. For more information, see Perform Machine Learning Inference in the Amazon IoT Greengrass Version 1 Developer Guide .

In an Amazon CloudFormation template, S3MachineLearningModelResourceData can be used in the ResourceDataContainer property type.

Syntax

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

JSON

{ "DestinationPath" : String, "OwnerSetting" : ResourceDownloadOwnerSetting, "S3Uri" : String }

Properties

DestinationPath

The absolute local path of the resource inside the Lambda environment.

Required: Yes

Type: String

Update requires: Replacement

OwnerSetting

The owner setting for the downloaded machine learning resource. For more information, see Access Machine Learning Resources from Lambda Functions in the Amazon IoT Greengrass Version 1 Developer Guide .

Required: No

Type: ResourceDownloadOwnerSetting

Update requires: Replacement

S3Uri

The URI of the source model in an Amazon S3 bucket. The model package must be in tar.gz or .zip format.

Required: Yes

Type: String

Update requires: Replacement

See also