Class: AWSCDK::Sagemaker::CfnSpace::S3FileSystemProperty

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

Overview

A custom file system in Amazon S3.

This is only supported in Amazon SageMaker Unified Studio.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_uri: nil) ⇒ S3FileSystemProperty

Returns a new instance of S3FileSystemProperty.

Parameters:

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

    The Amazon S3 URI that specifies the location in S3 where files are stored, which is mounted within the Studio environment.



1090
1091
1092
1093
# File 'sagemaker/cfn_space.rb', line 1090

def initialize(s3_uri: 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

#s3_uriString? (readonly)

The Amazon S3 URI that specifies the location in S3 where files are stored, which is mounted within the Studio environment.

For example: s3://<bucket-name>/<prefix>/ .



1101
1102
1103
# File 'sagemaker/cfn_space.rb', line 1101

def s3_uri
  @s3_uri
end

Class Method Details

.jsii_propertiesObject



1103
1104
1105
1106
1107
# File 'sagemaker/cfn_space.rb', line 1103

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

Instance Method Details

#to_jsiiObject



1109
1110
1111
1112
1113
1114
1115
# File 'sagemaker/cfn_space.rb', line 1109

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