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