Class: AWSCDK::Sagemaker::CfnUserProfile::FSXLustreFileSystemConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_user_profile.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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_system_id:, file_system_path: nil) ⇒ FSXLustreFileSystemConfigProperty

Returns a new instance of FSXLustreFileSystemConfigProperty.

Parameters:

  • file_system_id (String)

    The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.

  • file_system_path (String, nil) (defaults to: nil)

    The path to the file system directory that is accessible in Amazon SageMaker Studio.



1007
1008
1009
1010
1011
1012
# File 'sagemaker/cfn_user_profile.rb', line 1007

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_idString (readonly)

The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.



1018
1019
1020
# File 'sagemaker/cfn_user_profile.rb', line 1018

def file_system_id
  @file_system_id
end

#file_system_pathString? (readonly)

The path to the file system directory that is accessible in Amazon SageMaker Studio.

Permitted users can access only this directory and below.



1025
1026
1027
# File 'sagemaker/cfn_user_profile.rb', line 1025

def file_system_path
  @file_system_path
end

Class Method Details

.jsii_propertiesObject



1027
1028
1029
1030
1031
1032
# File 'sagemaker/cfn_user_profile.rb', line 1027

def self.jsii_properties
  {
    :file_system_id => "fileSystemId",
    :file_system_path => "fileSystemPath",
  }
end

Instance Method Details

#to_jsiiObject



1034
1035
1036
1037
1038
1039
1040
1041
# File 'sagemaker/cfn_user_profile.rb', line 1034

def to_jsii
  result = {}
  result.merge!({
    "fileSystemId" => @file_system_id,
    "fileSystemPath" => @file_system_path,
  })
  result.compact
end