Class CfnResourceDefinitionPropsMixin.S3MachineLearningModelResourceDataProperty
Settings for an Amazon S3 machine learning resource.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnResourceDefinitionPropsMixin.S3MachineLearningModelResourceDataProperty : CfnResourceDefinitionPropsMixin.IS3MachineLearningModelResourceDataProperty
Syntax (vb)
Public Class CfnResourceDefinitionPropsMixin.S3MachineLearningModelResourceDataProperty Implements CfnResourceDefinitionPropsMixin.IS3MachineLearningModelResourceDataProperty
Remarks
For more information, see Perform Machine Learning Inference in the Developer Guide .
In an 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.Mixins.Preview.AWS.Greengrass.Mixins;
var s3MachineLearningModelResourceDataProperty = new S3MachineLearningModelResourceDataProperty {
DestinationPath = "destinationPath",
OwnerSetting = new ResourceDownloadOwnerSettingProperty {
GroupOwner = "groupOwner",
GroupPermission = "groupPermission"
},
S3Uri = "s3Uri"
};
Synopsis
Constructors
| S3MachineLearningModelResourceDataProperty() | Settings for an Amazon S3 machine learning resource. |
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()
Settings for an Amazon S3 machine learning resource.
public S3MachineLearningModelResourceDataProperty()
Remarks
For more information, see Perform Machine Learning Inference in the Developer Guide .
In an 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.Mixins.Preview.AWS.Greengrass.Mixins;
var s3MachineLearningModelResourceDataProperty = new S3MachineLearningModelResourceDataProperty {
DestinationPath = "destinationPath",
OwnerSetting = new ResourceDownloadOwnerSettingProperty {
GroupOwner = "groupOwner",
GroupPermission = "groupPermission"
},
S3Uri = "s3Uri"
};
Properties
DestinationPath
The absolute local path of the resource inside the Lambda environment.
public string? DestinationPath { get; set; }
Property Value
Remarks
OwnerSetting
The owner setting for the downloaded machine learning resource.
public object? OwnerSetting { get; set; }
Property Value
Remarks
For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .
Type union: either IResolvable or CfnResourceDefinitionPropsMixin.IResourceDownloadOwnerSettingProperty
S3Uri
The URI of the source model in an Amazon S3 bucket.
public string? S3Uri { get; set; }
Property Value
Remarks
The model package must be in tar.gz or .zip format.