Class: AWSCDK::EKS::CfnCluster::ZonalShiftConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::ZonalShiftConfigProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
The configuration for zonal shift for the cluster.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
If zonal shift is enabled, AWS configures zonal autoshift for the cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ ZonalShiftConfigProperty
constructor
A new instance of ZonalShiftConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ ZonalShiftConfigProperty
Returns a new instance of ZonalShiftConfigProperty.
1876 1877 1878 1879 |
# File 'eks/cfn_cluster.rb', line 1876 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)
If zonal shift is enabled, AWS configures zonal autoshift for the cluster.
1885 1886 1887 |
# File 'eks/cfn_cluster.rb', line 1885 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
1887 1888 1889 1890 1891 |
# File 'eks/cfn_cluster.rb', line 1887 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1893 1894 1895 1896 1897 1898 1899 |
# File 'eks/cfn_cluster.rb', line 1893 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |