Class: AWSCDK::Sagemaker::CfnCluster::ClusterFSXOpenZfsConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnCluster::ClusterFSXOpenZfsConfigProperty
- Defined in:
- sagemaker/cfn_cluster.rb
Overview
Configuration for mounting an Amazon FSx OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.
Instance Attribute Summary collapse
-
#dns_name ⇒ String
readonly
The DNS name of the FSx for OpenZFS file system.
-
#mount_path ⇒ String?
readonly
The mount path for the FSx for OpenZFS file system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dns_name:, mount_path: nil) ⇒ ClusterFSXOpenZfsConfigProperty
constructor
A new instance of ClusterFSXOpenZfsConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dns_name:, mount_path: nil) ⇒ ClusterFSXOpenZfsConfigProperty
Returns a new instance of ClusterFSXOpenZfsConfigProperty.
983 984 985 986 987 988 |
# File 'sagemaker/cfn_cluster.rb', line 983 def initialize(dns_name:, mount_path: nil) @dns_name = dns_name Jsii::Type.check_type(@dns_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dnsName") @mount_path = mount_path Jsii::Type.check_type(@mount_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mountPath") unless @mount_path.nil? end |
Instance Attribute Details
#dns_name ⇒ String (readonly)
The DNS name of the FSx for OpenZFS file system.
994 995 996 |
# File 'sagemaker/cfn_cluster.rb', line 994 def dns_name @dns_name end |
#mount_path ⇒ String? (readonly)
The mount path for the FSx for OpenZFS file system.
999 1000 1001 |
# File 'sagemaker/cfn_cluster.rb', line 999 def mount_path @mount_path end |
Class Method Details
.jsii_properties ⇒ Object
1001 1002 1003 1004 1005 1006 |
# File 'sagemaker/cfn_cluster.rb', line 1001 def self.jsii_properties { :dns_name => "dnsName", :mount_path => "mountPath", } end |
Instance Method Details
#to_jsii ⇒ Object
1008 1009 1010 1011 1012 1013 1014 1015 |
# File 'sagemaker/cfn_cluster.rb', line 1008 def to_jsii result = {} result.merge!({ "dnsName" => @dns_name, "mountPath" => @mount_path, }) result.compact end |