aws-cdk-lib.aws_greengrass.CfnResourceDefinition.ResourceDownloadOwnerSettingProperty

interface ResourceDownloadOwnerSettingProperty

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

The owner setting for a downloaded machine learning resource.

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

In an AWS CloudFormation template, ResourceDownloadOwnerSetting is the property type of the OwnerSetting property for the S3MachineLearningModelResourceData and SageMakerMachineLearningModelResourceData property types.

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 resourceDownloadOwnerSettingProperty: greengrass.CfnResourceDefinition.ResourceDownloadOwnerSettingProperty = {
  groupOwner: 'groupOwner',
  groupPermission: 'groupPermission',
};

Properties

NameTypeDescription
groupOwnerstringThe group owner of the machine learning resource.
groupPermissionstringThe permissions that the group owner has to the machine learning resource.

groupOwner

Type: string

The group owner of the machine learning resource.

This is the group ID (GID) of an existing Linux OS group on the system. The group's permissions are added to the Lambda process.


groupPermission

Type: string

The permissions that the group owner has to the machine learning resource.

Valid values are rw (read-write) or ro (read-only).