Class: AWSCDK::Sagemaker::CfnDomain::FSXLustreFileSystemConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnDomain::FSXLustreFileSystemConfigProperty
- Defined in:
- sagemaker/cfn_domain.rb
Overview
The settings for assigning a custom Amazon FSx for Lustre file system to a user profile or space for an Amazon SageMaker Domain.
Instance Attribute Summary collapse
-
#file_system_id ⇒ String
readonly
The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.
-
#file_system_path ⇒ String?
readonly
The path to the file system directory that is accessible in Amazon SageMaker Studio.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file_system_id:, file_system_path: nil) ⇒ FSXLustreFileSystemConfigProperty
constructor
A new instance of FSXLustreFileSystemConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(file_system_id:, file_system_path: nil) ⇒ FSXLustreFileSystemConfigProperty
Returns a new instance of FSXLustreFileSystemConfigProperty.
1430 1431 1432 1433 1434 1435 |
# File 'sagemaker/cfn_domain.rb', line 1430 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 globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.
1441 1442 1443 |
# File 'sagemaker/cfn_domain.rb', line 1441 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 Studio.
Permitted users can access only this directory and below.
1448 1449 1450 |
# File 'sagemaker/cfn_domain.rb', line 1448 def file_system_path @file_system_path end |
Class Method Details
.jsii_properties ⇒ Object
1450 1451 1452 1453 1454 1455 |
# File 'sagemaker/cfn_domain.rb', line 1450 def self.jsii_properties { :file_system_id => "fileSystemId", :file_system_path => "fileSystemPath", } end |
Instance Method Details
#to_jsii ⇒ Object
1457 1458 1459 1460 1461 1462 1463 1464 |
# File 'sagemaker/cfn_domain.rb', line 1457 def to_jsii result = {} result.merge!({ "fileSystemId" => @file_system_id, "fileSystemPath" => @file_system_path, }) result.compact end |