Class: AWSCDK::MSK::CfnCluster::StorageInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::StorageInfoProperty
- Defined in:
- msk/cfn_cluster.rb
Overview
Contains information about storage volumes attached to Amazon MSK broker nodes.
Instance Attribute Summary collapse
-
#ebs_storage_info ⇒ AWSCDK::IResolvable, ...
readonly
EBS volume information.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ebs_storage_info: nil) ⇒ StorageInfoProperty
constructor
A new instance of StorageInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ebs_storage_info: nil) ⇒ StorageInfoProperty
Returns a new instance of StorageInfoProperty.
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_info ⇒ AWSCDK::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_properties ⇒ Object
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_jsii ⇒ Object
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 |