aws-cdk-lib.aws_greengrass.CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty

interface SageMakerMachineLearningModelResourceDataProperty

LanguageType name
.NETAmazon.CDK.AWS.Greengrass.CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnResourceDefinition_SageMakerMachineLearningModelResourceDataProperty
Javasoftware.amazon.awscdk.services.greengrass.CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty
Pythonaws_cdk.aws_greengrass.CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty
TypeScript aws-cdk-lib » aws_greengrass » CfnResourceDefinition » SageMakerMachineLearningModelResourceDataProperty

Settings for an Secrets Manager machine learning resource.

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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from 'aws-cdk-lib';
const sageMakerMachineLearningModelResourceDataProperty: greengrass.CfnResourceDefinition.SageMakerMachineLearningModelResourceDataProperty = {
  destinationPath: 'destinationPath',
  sageMakerJobArn: 'sageMakerJobArn',

  // the properties below are optional
  ownerSetting: {
    groupOwner: 'groupOwner',
    groupPermission: 'groupPermission',
  },
};

Properties

NameTypeDescription
destinationPathstringThe absolute local path of the resource inside the Lambda environment.
sageMakerJobArnstringThe Amazon Resource Name (ARN) of the Amazon SageMaker training job that represents the source model.
ownerSetting?IResolvable | ResourceDownloadOwnerSettingPropertyThe owner setting for the downloaded machine learning resource.

destinationPath

Type: string

The absolute local path of the resource inside the Lambda environment.


sageMakerJobArn

Type: string

The Amazon Resource Name (ARN) of the Amazon SageMaker training job that represents the source model.


ownerSetting?

Type: IResolvable | ResourceDownloadOwnerSettingProperty (optional)

The owner setting for the downloaded machine learning resource.

For more information, see Access Machine Learning Resources from Lambda Functions in the Developer Guide .