Class: AWSCDK::Sagemaker::CfnUserProfile::EFSFileSystemConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnUserProfile::EFSFileSystemConfigProperty
- Defined in:
- sagemaker/cfn_user_profile.rb
Overview
The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker AI Domain.
Instance Attribute Summary collapse
-
#file_system_id ⇒ String
readonly
The ID of your Amazon EFS file system.
-
#file_system_path ⇒ String?
readonly
The path to the file system directory that is accessible in Amazon SageMaker AI Studio.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file_system_id:, file_system_path: nil) ⇒ EFSFileSystemConfigProperty
constructor
A new instance of EFSFileSystemConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(file_system_id:, file_system_path: nil) ⇒ EFSFileSystemConfigProperty
Returns a new instance of EFSFileSystemConfigProperty.
962 963 964 965 966 967 |
# File 'sagemaker/cfn_user_profile.rb', line 962 def initialize(file_system_id:, file_system_path: nil) @file_system_id = file_system_id Jsii::Type.check_type(@file_system_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileSystemId") @file_system_path = file_system_path Jsii::Type.check_type(@file_system_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileSystemPath") unless @file_system_path.nil? end |
Instance Attribute Details
#file_system_id ⇒ String (readonly)
The ID of your Amazon EFS file system.
973 974 975 |
# File 'sagemaker/cfn_user_profile.rb', line 973 def file_system_id @file_system_id end |
#file_system_path ⇒ String? (readonly)
The path to the file system directory that is accessible in Amazon SageMaker AI Studio.
Permitted users can access only this directory and below.
980 981 982 |
# File 'sagemaker/cfn_user_profile.rb', line 980 def file_system_path @file_system_path end |
Class Method Details
.jsii_properties ⇒ Object
982 983 984 985 986 987 |
# File 'sagemaker/cfn_user_profile.rb', line 982 def self.jsii_properties { :file_system_id => "fileSystemId", :file_system_path => "fileSystemPath", } end |
Instance Method Details
#to_jsii ⇒ Object
989 990 991 992 993 994 995 996 |
# File 'sagemaker/cfn_user_profile.rb', line 989 def to_jsii result = {} result.merge!({ "fileSystemId" => @file_system_id, "fileSystemPath" => @file_system_path, }) result.compact end |