Interface CfnResourceDefinition.IResourceDownloadOwnerSettingProperty
The owner setting for a downloaded machine learning resource.
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public interface IResourceDownloadOwnerSettingProperty
Syntax (vb)
Public Interface IResourceDownloadOwnerSettingProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var resourceDownloadOwnerSettingProperty = new ResourceDownloadOwnerSettingProperty {
GroupOwner = "groupOwner",
GroupPermission = "groupPermission"
};
Synopsis
Properties
GroupOwner | The group owner of the machine learning resource. |
GroupPermission | The permissions that the group owner has to the machine learning resource. |
Properties
GroupOwner
The group owner of the machine learning resource.
string GroupOwner { get; }
Property Value
System.String
Remarks
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
The permissions that the group owner has to the machine learning resource.
string GroupPermission { get; }
Property Value
System.String
Remarks
Valid values are rw
(read-write) or ro
(read-only).