interface ResourceDownloadOwnerSettingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Greengrass.CfnResourceDefinition.ResourceDownloadOwnerSettingProperty |
![]() | software.amazon.awscdk.services.greengrass.CfnResourceDefinition.ResourceDownloadOwnerSettingProperty |
![]() | aws_cdk.aws_greengrass.CfnResourceDefinition.ResourceDownloadOwnerSettingProperty |
![]() | @aws-cdk/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 * as greengrass from '@aws-cdk/aws-greengrass';
const resourceDownloadOwnerSettingProperty: greengrass.CfnResourceDefinition.ResourceDownloadOwnerSettingProperty = {
groupOwner: 'groupOwner',
groupPermission: 'groupPermission',
};
Properties
Name | Type | Description |
---|---|---|
group | string | The group owner of the machine learning resource. |
group | string | The 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).