Class CfnResourceDefinition.ResourceDownloadOwnerSettingProperty
The owner setting for a downloaded machine learning resource.
Inheritance
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourceDownloadOwnerSettingProperty : Object, CfnResourceDefinition.IResourceDownloadOwnerSettingProperty
Syntax (vb)
Public Class ResourceDownloadOwnerSettingProperty
Inherits Object
Implements CfnResourceDefinition.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
Constructors
Resource |
Properties
Group |
The group owner of the machine learning resource. |
Group |
The permissions that the group owner has to the machine learning resource. |
Constructors
ResourceDownloadOwnerSettingProperty()
public ResourceDownloadOwnerSettingProperty()
Properties
GroupOwner
The group owner of the machine learning resource.
public string GroupOwner { get; set; }
Property Value
System.
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.
public string GroupPermission { get; set; }
Property Value
System.
Remarks
Valid values are rw
(read-write) or ro
(read-only).