Class: AWSCDK::EKS::CfnCluster::BlockStorageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::BlockStorageProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
Indicates the current configuration of the block storage capability on your EKS Auto Mode cluster.
For example, if the capability is enabled or disabled. If the block storage capability is enabled, EKS Auto Mode will create and delete EBS volumes in your AWS account. For more information, see EKS Auto Mode block storage capability in the Amazon EKS User Guide .
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Indicates if the block storage capability is enabled on your EKS Auto Mode cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ BlockStorageProperty
constructor
A new instance of BlockStorageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ BlockStorageProperty
Returns a new instance of BlockStorageProperty.
915 916 917 918 |
# File 'eks/cfn_cluster.rb', line 915 def initialize(enabled: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
Indicates if the block storage capability is enabled on your EKS Auto Mode cluster.
If the block storage capability is enabled, EKS Auto Mode will create and delete EBS volumes in your AWS account.
926 927 928 |
# File 'eks/cfn_cluster.rb', line 926 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
928 929 930 931 932 |
# File 'eks/cfn_cluster.rb', line 928 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
934 935 936 937 938 939 940 |
# File 'eks/cfn_cluster.rb', line 934 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |