Skip to content
v2.275.0

SageMakerMachineLearningModelResourceDataProperty Struct ​

Settings for an Secrets Manager machine learning resource.

For more information, see Perform Machine Learning Inference in the Developer Guide .

In an CloudFormation template, SageMakerMachineLearningModelResourceData can be used in the ResourceDataContainer property type.

Example ​

ts
// 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.CfnResourceDefinitionVersion.SageMakerMachineLearningModelResourceDataProperty = {
  destinationPath: 'destinationPath',
  sageMakerJobArn: 'sageMakerJobArn',

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

Properties ​

destinationPathstringdestination_pathstrdestinationPathStringDestinationPathstringDestinationPath*stringrequired#
The absolute local path of the resource inside the Lambda environment.
ownerSettingoptionalIResolvable | CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingPropertyowner_settingoptionaltyping.Union[IResolvable, ResourceDownloadOwnerSettingProperty]ownerSettingoptionalIResolvableOwnerSettingoptionalIResolvableOwnerSettingoptionalinterface{}#
The owner setting for the downloaded machine learning resource.

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

sageMakerJobArnstringsage_maker_job_arnstrsageMakerJobArnStringSageMakerJobArnstringSageMakerJobArn*stringrequired#
The Amazon Resource Name (ARN) of the Amazon SageMaker AI training job that represents the source model.