# SageMakerMachineLearningModelResourceDataProperty

Settings for an Secrets Manager machine learning resource.

For more information, see [Perform Machine Learning Inference](https://docs.aws.amazon.com/greengrass/v1/developerguide/ml-inference.html) in the *Developer Guide* .

In an CloudFormation template, `SageMakerMachineLearningModelResourceData` can be used in the [`ResourceDataContainer`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedatacontainer.html) property type.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `destinationPath`: string (required) — The absolute local path of the resource inside the Lambda environment.

- `ownerSetting`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_greengrass.CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.html) — The owner setting for the downloaded machine learning resource.

  For more information, see [Access Machine Learning Resources from Lambda Functions](https://docs.aws.amazon.com/greengrass/v1/developerguide/access-ml-resources.html) in the *Developer Guide* .

- `sageMakerJobArn`: string (required) — The Amazon Resource Name (ARN) of the Amazon SageMaker AI training job that represents the source model.
