Class: AWSCDK::MSK::CfnCluster::StorageInfoProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
msk/cfn_cluster.rb

Overview

Contains information about storage volumes attached to Amazon MSK broker nodes.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ebs_storage_info: nil) ⇒ StorageInfoProperty

Returns a new instance of StorageInfoProperty.

Parameters:



1730
1731
1732
1733
# File 'msk/cfn_cluster.rb', line 1730

def initialize(ebs_storage_info: nil)
  @ebs_storage_info = ebs_storage_info.is_a?(Hash) ? ::AWSCDK::MSK::CfnCluster::EBSStorageInfoProperty.new(**ebs_storage_info.transform_keys(&:to_sym)) : ebs_storage_info
  Jsii::Type.check_type(@ebs_storage_info, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tc2suQ2ZuQ2x1c3Rlci5FQlNTdG9yYWdlSW5mb1Byb3BlcnR5In1dfX0=")), "ebsStorageInfo") unless @ebs_storage_info.nil?
end

Instance Attribute Details

#ebs_storage_infoAWSCDK::IResolvable, ... (readonly)

EBS volume information.



1739
1740
1741
# File 'msk/cfn_cluster.rb', line 1739

def ebs_storage_info
  @ebs_storage_info
end

Class Method Details

.jsii_propertiesObject



1741
1742
1743
1744
1745
# File 'msk/cfn_cluster.rb', line 1741

def self.jsii_properties
  {
    :ebs_storage_info => "ebsStorageInfo",
  }
end

Instance Method Details

#to_jsiiObject



1747
1748
1749
1750
1751
1752
1753
# File 'msk/cfn_cluster.rb', line 1747

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