Class: AWSCDK::EKS::CfnCluster::EtcdPlacementProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::EtcdPlacementProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
The placement configuration for the etcd instances of your local Amazon EKS cluster on an AWS Outpost.
Instance Attribute Summary collapse
-
#spread_level ⇒ String?
readonly
Optional parameter to specify the placement group spread level for etcd instances.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(spread_level: nil) ⇒ EtcdPlacementProperty
constructor
A new instance of EtcdPlacementProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(spread_level: nil) ⇒ EtcdPlacementProperty
Returns a new instance of EtcdPlacementProperty.
1216 1217 1218 1219 |
# File 'eks/cfn_cluster.rb', line 1216 def initialize(spread_level: nil) @spread_level = spread_level Jsii::Type.check_type(@spread_level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "spreadLevel") unless @spread_level.nil? end |
Instance Attribute Details
#spread_level ⇒ String? (readonly)
Optional parameter to specify the placement group spread level for etcd instances.
If not provided, EKS will deploy etcd instances without a placement group.
1227 1228 1229 |
# File 'eks/cfn_cluster.rb', line 1227 def spread_level @spread_level end |
Class Method Details
.jsii_properties ⇒ Object
1229 1230 1231 1232 1233 |
# File 'eks/cfn_cluster.rb', line 1229 def self.jsii_properties { :spread_level => "spreadLevel", } end |
Instance Method Details
#to_jsii ⇒ Object
1235 1236 1237 1238 1239 1240 1241 |
# File 'eks/cfn_cluster.rb', line 1235 def to_jsii result = {} result.merge!({ "spreadLevel" => @spread_level, }) result.compact end |