Class: AWSCDK::EKS::CfnCluster::ElasticLoadBalancingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::ElasticLoadBalancingProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
Indicates the current configuration of the load balancing capability on your EKS Auto Mode cluster.
For example, if the capability is enabled or disabled. For more information, see EKS Auto Mode load balancing capability in the Amazon EKS User Guide .
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Indicates if the load balancing capability is enabled on your EKS Auto Mode cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ ElasticLoadBalancingProperty
constructor
A new instance of ElasticLoadBalancingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ ElasticLoadBalancingProperty
Returns a new instance of ElasticLoadBalancingProperty.
1136 1137 1138 1139 |
# File 'eks/cfn_cluster.rb', line 1136 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 load balancing capability is enabled on your EKS Auto Mode cluster.
If the load balancing capability is enabled, EKS Auto Mode will create and delete load balancers in your AWS account.
1147 1148 1149 |
# File 'eks/cfn_cluster.rb', line 1147 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
1149 1150 1151 1152 1153 |
# File 'eks/cfn_cluster.rb', line 1149 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1155 1156 1157 1158 1159 1160 1161 |
# File 'eks/cfn_cluster.rb', line 1155 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |