Class: AWSCDK::Sagemaker::CfnUserProfile::EFSFileSystemConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of EFSFileSystemConfigProperty.

Parameters:

  • file_system_id (String)

    The ID of your Amazon EFS file system.

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

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



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_idString (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_pathString? (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_propertiesObject



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_jsiiObject



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