Interface CfnResourceDefinition.ResourceDownloadOwnerSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinition.ResourceDownloadOwnerSettingProperty.Jsii$Proxy
- Enclosing class:
- CfnResourceDefinition
@Stability(Stable)
public static interface CfnResourceDefinition.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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnResourceDefinition.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.
-
getGroupPermission
The permissions that the group owner has to the machine learning resource.Valid values are
rw(read-write) orro(read-only). -
builder
@Stability(Stable) static CfnResourceDefinition.ResourceDownloadOwnerSettingProperty.Builder builder()
-