Class: AWSCDK::Sagemaker::CfnUserProfile::S3FileSystemConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnUserProfile::S3FileSystemConfigProperty
- Defined in:
- sagemaker/cfn_user_profile.rb
Overview
Configuration for the custom Amazon S3 file system.
Instance Attribute Summary collapse
-
#mount_path ⇒ String?
readonly
The file system path where the Amazon S3 storage location will be mounted within the Amazon SageMaker Studio environment.
-
#s3_uri ⇒ String?
readonly
The Amazon S3 URI of the S3 file system configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mount_path: nil, s3_uri: nil) ⇒ S3FileSystemConfigProperty
constructor
A new instance of S3FileSystemConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mount_path: nil, s3_uri: nil) ⇒ S3FileSystemConfigProperty
Returns a new instance of S3FileSystemConfigProperty.
1473 1474 1475 1476 1477 1478 |
# File 'sagemaker/cfn_user_profile.rb', line 1473 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_path ⇒ String? (readonly)
The file system path where the Amazon S3 storage location will be mounted within the Amazon SageMaker Studio environment.
1484 1485 1486 |
# File 'sagemaker/cfn_user_profile.rb', line 1484 def mount_path @mount_path end |
#s3_uri ⇒ String? (readonly)
The Amazon S3 URI of the S3 file system configuration.
1489 1490 1491 |
# File 'sagemaker/cfn_user_profile.rb', line 1489 def s3_uri @s3_uri end |
Class Method Details
.jsii_properties ⇒ Object
1491 1492 1493 1494 1495 1496 |
# File 'sagemaker/cfn_user_profile.rb', line 1491 def self.jsii_properties { :mount_path => "mountPath", :s3_uri => "s3Uri", } end |
Instance Method Details
#to_jsii ⇒ Object
1498 1499 1500 1501 1502 1503 1504 1505 |
# File 'sagemaker/cfn_user_profile.rb', line 1498 def to_jsii result = {} result.merge!({ "mountPath" => @mount_path, "s3Uri" => @s3_uri, }) result.compact end |