Class CfnResourceDefinition.S3MachineLearningModelResourceDataProperty
Settings for an Amazon S3 machine learning resource.
Inheritance
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class S3MachineLearningModelResourceDataProperty : Object, CfnResourceDefinition.IS3MachineLearningModelResourceDataProperty
Syntax (vb)
Public Class S3MachineLearningModelResourceDataProperty
Inherits Object
Implements CfnResourceDefinition.IS3MachineLearningModelResourceDataProperty
Remarks
For more information, see Perform Machine Learning Inference in the Developer Guide .
In an AWS CloudFormation template, S3MachineLearningModelResourceData
can be used in the ResourceDataContainer
property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var s3MachineLearningModelResourceDataProperty = new S3MachineLearningModelResourceDataProperty {
DestinationPath = "destinationPath",
S3Uri = "s3Uri",
// the properties below are optional
OwnerSetting = new ResourceDownloadOwnerSettingProperty {
GroupOwner = "groupOwner",
GroupPermission = "groupPermission"
}
};
Synopsis
Constructors
S3MachineLearningModelResourceDataProperty() |
Properties
DestinationPath | The absolute local path of the resource inside the Lambda environment. |
OwnerSetting | The owner setting for the downloaded machine learning resource. |
S3Uri | The URI of the source model in an Amazon S3 bucket. |
Constructors
S3MachineLearningModelResourceDataProperty()
public S3MachineLearningModelResourceDataProperty()
Properties
DestinationPath
The absolute local path of the resource inside the Lambda environment.
public string DestinationPath { get; set; }
Property Value
System.String
Remarks
OwnerSetting
The owner setting for the downloaded machine learning resource.
public object OwnerSetting { get; set; }
Property Value
System.Object
Remarks
For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .
S3Uri
The URI of the source model in an Amazon S3 bucket.
public string S3Uri { get; set; }
Property Value
System.String
Remarks
The model package must be in tar.gz
or .zip
format.