Class: AWSCDK::EKS::CfnCluster::ControlPlaneScalingConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
eks/cfn_cluster.rb

Overview

The control plane scaling tier configuration.

For more information, see EKS Provisioned Control Plane in the Amazon EKS User Guide.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tier: nil) ⇒ ControlPlaneScalingConfigProperty

Returns a new instance of ControlPlaneScalingConfigProperty.

Parameters:

  • tier (String, nil) (defaults to: nil)

    The control plane scaling tier configuration.



1099
1100
1101
1102
# File 'eks/cfn_cluster.rb', line 1099

def initialize(tier: nil)
  @tier = tier
  Jsii::Type.check_type(@tier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tier") unless @tier.nil?
end

Instance Attribute Details

#tierString? (readonly)

The control plane scaling tier configuration.

Available options are standard , tier-xl , tier-2xl , or tier-4xl . For more information, see EKS Provisioned Control Plane in the Amazon EKS User Guide.



1110
1111
1112
# File 'eks/cfn_cluster.rb', line 1110

def tier
  @tier
end

Class Method Details

.jsii_propertiesObject



1112
1113
1114
1115
1116
# File 'eks/cfn_cluster.rb', line 1112

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

Instance Method Details

#to_jsiiObject



1118
1119
1120
1121
1122
1123
1124
# File 'eks/cfn_cluster.rb', line 1118

def to_jsii
  result = {}
  result.merge!({
    "tier" => @tier,
  })
  result.compact
end