AWS::Greengrass::ResourceDefinitionVersion 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}
YAML
DestinationPath:StringOwnerSetting:ResourceDownloadOwnerSettingS3Uri: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.gzor.zipformat.Required: Yes
Type: String
Update requires: Replacement
See also
-
S3MachineLearningModelResourceData in the Amazon IoT Greengrass Version 1 API Reference