Class: AWSCDK::Sagemaker::CfnDomain::S3FileSystemConfigProperty

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

Overview

Configuration for the custom Amazon S3 file system.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mount_path: nil, s3_uri: nil) ⇒ S3FileSystemConfigProperty

Returns a new instance of S3FileSystemConfigProperty.

Parameters:

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

    The file system path where the Amazon S3 storage location will be mounted within the Amazon SageMaker Studio environment.

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

    The Amazon S3 URI of the S3 file system configuration.



2012
2013
2014
2015
2016
2017
# File 'sagemaker/cfn_domain.rb', line 2012

def initialize(mount_path: nil, s3_uri: nil)
  @mount_path = mount_path
  Jsii::Type.check_type(@mount_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mountPath") unless @mount_path.nil?
  @s3_uri = s3_uri
  Jsii::Type.check_type(@s3_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Uri") unless @s3_uri.nil?
end

Instance Attribute Details

#mount_pathString? (readonly)

The file system path where the Amazon S3 storage location will be mounted within the Amazon SageMaker Studio environment.



2023
2024
2025
# File 'sagemaker/cfn_domain.rb', line 2023

def mount_path
  @mount_path
end

#s3_uriString? (readonly)

The Amazon S3 URI of the S3 file system configuration.



2028
2029
2030
# File 'sagemaker/cfn_domain.rb', line 2028

def s3_uri
  @s3_uri
end

Class Method Details

.jsii_propertiesObject



2030
2031
2032
2033
2034
2035
# File 'sagemaker/cfn_domain.rb', line 2030

def self.jsii_properties
  {
    :mount_path => "mountPath",
    :s3_uri => "s3Uri",
  }
end

Instance Method Details

#to_jsiiObject



2037
2038
2039
2040
2041
2042
2043
2044
# File 'sagemaker/cfn_domain.rb', line 2037

def to_jsii
  result = {}
  result.merge!({
    "mountPath" => @mount_path,
    "s3Uri" => @s3_uri,
  })
  result.compact
end