Class: AWSCDK::Sagemaker::CfnDomain::EFSFileSystemConfigProperty

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



1385
1386
1387
1388
1389
1390
# File 'sagemaker/cfn_domain.rb', line 1385

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.



1396
1397
1398
# File 'sagemaker/cfn_domain.rb', line 1396

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.



1403
1404
1405
# File 'sagemaker/cfn_domain.rb', line 1403

def file_system_path
  @file_system_path
end

Class Method Details

.jsii_propertiesObject



1405
1406
1407
1408
1409
1410
# File 'sagemaker/cfn_domain.rb', line 1405

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

Instance Method Details

#to_jsiiObject



1412
1413
1414
1415
1416
1417
1418
1419
# File 'sagemaker/cfn_domain.rb', line 1412

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