Interface CfnResourceDefinition.ISageMakerMachineLearningModelResourceDataProperty
Settings for an Secrets Manager machine learning resource.
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public interface ISageMakerMachineLearningModelResourceDataProperty
Syntax (vb)
Public Interface ISageMakerMachineLearningModelResourceDataProperty
Remarks
For more information, see Perform Machine Learning Inference in the Developer Guide .
In an AWS CloudFormation template, SageMakerMachineLearningModelResourceData
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 sageMakerMachineLearningModelResourceDataProperty = new SageMakerMachineLearningModelResourceDataProperty {
DestinationPath = "destinationPath",
SageMakerJobArn = "sageMakerJobArn",
// the properties below are optional
OwnerSetting = new ResourceDownloadOwnerSettingProperty {
GroupOwner = "groupOwner",
GroupPermission = "groupPermission"
}
};
Synopsis
Properties
Destination |
The absolute local path of the resource inside the Lambda environment. |
Owner |
The owner setting for the downloaded machine learning resource. |
Sage |
The Amazon Resource Name (ARN) of the Amazon SageMaker training job that represents the source model. |
Properties
DestinationPath
The absolute local path of the resource inside the Lambda environment.
string DestinationPath { get; }
Property Value
System.
Remarks
OwnerSetting
The owner setting for the downloaded machine learning resource.
virtual object OwnerSetting { get; }
Property Value
System.
Remarks
For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .
SageMakerJobArn
The Amazon Resource Name (ARN) of the Amazon SageMaker training job that represents the source model.
string SageMakerJobArn { get; }
Property Value
System.