Class: AWSCDK::Sagemaker::CfnSpace::EbsStorageSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnSpace::EbsStorageSettingsProperty
- Defined in:
- sagemaker/cfn_space.rb
Overview
A collection of EBS storage settings that apply to both private and shared spaces.
Instance Attribute Summary collapse
-
#ebs_volume_size_in_gb ⇒ Numeric
readonly
The size of an EBS storage volume for a space.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ebs_volume_size_in_gb:) ⇒ EbsStorageSettingsProperty
constructor
A new instance of EbsStorageSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ebs_volume_size_in_gb:) ⇒ EbsStorageSettingsProperty
Returns a new instance of EbsStorageSettingsProperty.
796 797 798 799 |
# File 'sagemaker/cfn_space.rb', line 796 def initialize(ebs_volume_size_in_gb:) @ebs_volume_size_in_gb = ebs_volume_size_in_gb Jsii::Type.check_type(@ebs_volume_size_in_gb, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ebsVolumeSizeInGb") end |
Instance Attribute Details
#ebs_volume_size_in_gb ⇒ Numeric (readonly)
The size of an EBS storage volume for a space.
805 806 807 |
# File 'sagemaker/cfn_space.rb', line 805 def ebs_volume_size_in_gb @ebs_volume_size_in_gb end |
Class Method Details
.jsii_properties ⇒ Object
807 808 809 810 811 |
# File 'sagemaker/cfn_space.rb', line 807 def self.jsii_properties { :ebs_volume_size_in_gb => "ebsVolumeSizeInGb", } end |
Instance Method Details
#to_jsii ⇒ Object
813 814 815 816 817 818 819 |
# File 'sagemaker/cfn_space.rb', line 813 def to_jsii result = {} result.merge!({ "ebsVolumeSizeInGb" => @ebs_volume_size_in_gb, }) result.compact end |