Class: AWSCDK::EKS::CfnCluster::StorageConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::StorageConfigProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
Request to update the configuration of the storage capability of your EKS Auto Mode cluster.
For example, enable the capability. For more information, see EKS Auto Mode block storage capability in the Amazon EKS User Guide .
Instance Attribute Summary collapse
-
#block_storage ⇒ AWSCDK::IResolvable, ...
readonly
Request to configure EBS Block Storage settings for your EKS Auto Mode cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(block_storage: nil) ⇒ StorageConfigProperty
constructor
A new instance of StorageConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(block_storage: nil) ⇒ StorageConfigProperty
Returns a new instance of StorageConfigProperty.
1802 1803 1804 1805 |
# File 'eks/cfn_cluster.rb', line 1802 def initialize(block_storage: nil) @block_storage = block_storage.is_a?(Hash) ? ::AWSCDK::EKS::CfnCluster::BlockStorageProperty.new(**block_storage.transform_keys(&:to_sym)) : block_storage Jsii::Type.check_type(@block_storage, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19la3MuQ2ZuQ2x1c3Rlci5CbG9ja1N0b3JhZ2VQcm9wZXJ0eSJ9XX19")), "blockStorage") unless @block_storage.nil? end |
Instance Attribute Details
#block_storage ⇒ AWSCDK::IResolvable, ... (readonly)
Request to configure EBS Block Storage settings for your EKS Auto Mode cluster.
1811 1812 1813 |
# File 'eks/cfn_cluster.rb', line 1811 def block_storage @block_storage end |
Class Method Details
.jsii_properties ⇒ Object
1813 1814 1815 1816 1817 |
# File 'eks/cfn_cluster.rb', line 1813 def self.jsii_properties { :block_storage => "blockStorage", } end |
Instance Method Details
#to_jsii ⇒ Object
1819 1820 1821 1822 1823 1824 1825 |
# File 'eks/cfn_cluster.rb', line 1819 def to_jsii result = {} result.merge!({ "blockStorage" => @block_storage, }) result.compact end |