AWS::Greengrass::ResourceDefinition S3MachineLearningModelResourceData
Settings for an Amazon S3 machine learning resource. For more information, see Perform Machine Learning Inference in the AWS IoT Greengrass Version 1 Developer Guide .
In an AWS CloudFormation template, S3MachineLearningModelResourceData
can
be used in the ResourceDataContainer
property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DestinationPath" :
String
, "OwnerSetting" :ResourceDownloadOwnerSetting
, "S3Uri" :String
}
YAML
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 AWS 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
-
S3MachineLearningModelResourceData in the AWS IoT Greengrass Version 1 API Reference