Class: AWSCDK::Sagemaker::CfnSpace::EbsStorageSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ebs_volume_size_in_gb:) ⇒ EbsStorageSettingsProperty

Returns a new instance of EbsStorageSettingsProperty.

Parameters:

  • ebs_volume_size_in_gb (Numeric)

    The size of an EBS storage volume for a space.



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_gbNumeric (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_propertiesObject



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_jsiiObject



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