Class: AWSCDK::EKS::CfnCluster::StorageConfigProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(block_storage: nil) ⇒ StorageConfigProperty

Returns a new instance of StorageConfigProperty.

Parameters:



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_storageAWSCDK::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_propertiesObject



1813
1814
1815
1816
1817
# File 'eks/cfn_cluster.rb', line 1813

def self.jsii_properties
  {
    :block_storage => "blockStorage",
  }
end

Instance Method Details

#to_jsiiObject



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