Class: AWSCDK::EKS::CfnCluster::UpgradePolicyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::UpgradePolicyProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
The support policy to use for the cluster.
Extended support allows you to remain on specific Kubernetes versions for longer. Clusters in extended support have higher costs. The default value is EXTENDED . Use STANDARD to disable extended support.
Learn more about EKS Extended Support in the Amazon EKS User Guide .
Instance Attribute Summary collapse
-
#support_type ⇒ String?
readonly
If the cluster is set to
EXTENDED, it will enter extended support at the end of standard support.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(support_type: nil) ⇒ UpgradePolicyProperty
constructor
A new instance of UpgradePolicyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(support_type: nil) ⇒ UpgradePolicyProperty
Returns a new instance of UpgradePolicyProperty.
1839 1840 1841 1842 |
# File 'eks/cfn_cluster.rb', line 1839 def initialize(support_type: nil) @support_type = support_type Jsii::Type.check_type(@support_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "supportType") unless @support_type.nil? end |
Instance Attribute Details
#support_type ⇒ String? (readonly)
If the cluster is set to EXTENDED , it will enter extended support at the end of standard support.
If the cluster is set to STANDARD , it will be automatically upgraded at the end of standard support.
Learn more about EKS Extended Support in the Amazon EKS User Guide .
1852 1853 1854 |
# File 'eks/cfn_cluster.rb', line 1852 def support_type @support_type end |
Class Method Details
.jsii_properties ⇒ Object
1854 1855 1856 1857 1858 |
# File 'eks/cfn_cluster.rb', line 1854 def self.jsii_properties { :support_type => "supportType", } end |
Instance Method Details
#to_jsii ⇒ Object
1860 1861 1862 1863 1864 1865 1866 |
# File 'eks/cfn_cluster.rb', line 1860 def to_jsii result = {} result.merge!({ "supportType" => @support_type, }) result.compact end |