Class: AWSCDK::Sagemaker::CfnSpace::EFSFileSystemProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_space.rb

Overview

A file system, created by you in Amazon EFS, that you assign to a user profile or space for an Amazon SageMaker AI Domain.

Permitted users can access this file system in Amazon SageMaker AI Studio.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_system_id:) ⇒ EFSFileSystemProperty

Returns a new instance of EFSFileSystemProperty.

Parameters:

  • file_system_id (String)

    The ID of your Amazon EFS file system.



763
764
765
766
# File 'sagemaker/cfn_space.rb', line 763

def initialize(file_system_id:)
  @file_system_id = file_system_id
  Jsii::Type.check_type(@file_system_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileSystemId")
end

Instance Attribute Details

#file_system_idString (readonly)

The ID of your Amazon EFS file system.



772
773
774
# File 'sagemaker/cfn_space.rb', line 772

def file_system_id
  @file_system_id
end

Class Method Details

.jsii_propertiesObject



774
775
776
777
778
# File 'sagemaker/cfn_space.rb', line 774

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

Instance Method Details

#to_jsiiObject



780
781
782
783
784
785
786
# File 'sagemaker/cfn_space.rb', line 780

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