Class: AWSCDK::ECS::CfnCapacityProvider::BaselineEbsBandwidthMbpsRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::CfnCapacityProvider::BaselineEbsBandwidthMbpsRequestProperty
- Defined in:
- ecs/cfn_capacity_provider.rb
Overview
The minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps) for instance type selection.
This is important for workloads with high storage I/O requirements.
Instance Attribute Summary collapse
-
#max ⇒ Numeric?
readonly
The maximum baseline Amazon EBS bandwidth in Mbps.
-
#min ⇒ Numeric?
readonly
The minimum baseline Amazon EBS bandwidth in Mbps.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max: nil, min: nil) ⇒ BaselineEbsBandwidthMbpsRequestProperty
constructor
A new instance of BaselineEbsBandwidthMbpsRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max: nil, min: nil) ⇒ BaselineEbsBandwidthMbpsRequestProperty
Returns a new instance of BaselineEbsBandwidthMbpsRequestProperty.
781 782 783 784 785 786 |
# File 'ecs/cfn_capacity_provider.rb', line 781 def initialize(max: nil, min: nil) @max = max Jsii::Type.check_type(@max, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "max") unless @max.nil? @min = min Jsii::Type.check_type(@min, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "min") unless @min.nil? end |
Instance Attribute Details
#max ⇒ Numeric? (readonly)
The maximum baseline Amazon EBS bandwidth in Mbps.
Instance types with higher Amazon EBS bandwidth are excluded from selection.
794 795 796 |
# File 'ecs/cfn_capacity_provider.rb', line 794 def max @max end |
#min ⇒ Numeric? (readonly)
The minimum baseline Amazon EBS bandwidth in Mbps.
Instance types with lower Amazon EBS bandwidth are excluded from selection.
801 802 803 |
# File 'ecs/cfn_capacity_provider.rb', line 801 def min @min end |
Class Method Details
.jsii_properties ⇒ Object
803 804 805 806 807 808 |
# File 'ecs/cfn_capacity_provider.rb', line 803 def self.jsii_properties { :max => "max", :min => "min", } end |
Instance Method Details
#to_jsii ⇒ Object
810 811 812 813 814 815 816 817 |
# File 'ecs/cfn_capacity_provider.rb', line 810 def to_jsii result = {} result.merge!({ "max" => @max, "min" => @min, }) result.compact end |