Interface CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.Jsii$Proxy
- Enclosing class:
CfnResourceDefinitionVersion
@Stability(Stable)
public static interface CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.greengrass.*; ResourceDownloadOwnerSettingProperty resourceDownloadOwnerSettingProperty = ResourceDownloadOwnerSettingProperty.builder() .groupOwner("groupOwner") .groupPermission("groupPermission") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The group owner of the machine learning resource.The permissions that the group owner has to the machine learning resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroupOwner
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.
- See Also:
-
getGroupPermission
The permissions that the group owner has to the machine learning resource.Valid values are
rw
(read-write) orro
(read-only).- See Also:
-
builder
@Stability(Stable) static CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.Builder builder()
-