interface ResourceDownloadOwnerSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Greengrass.CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnResourceDefinitionVersion_ResourceDownloadOwnerSettingProperty |
Java | software.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty |
Python | aws_cdk.aws_greengrass.CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty |
TypeScript | aws-cdk-lib » aws_greengrass » CfnResourceDefinitionVersion » 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.CfnResourceDefinitionVersion.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).

.NET
Go
Java
Python
TypeScript