Class: AWSCDK::M2::CfnEnvironment::HighAvailabilityConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::M2::CfnEnvironment::HighAvailabilityConfigProperty
- Defined in:
- m2/cfn_environment.rb
Overview
AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .
Defines the details of a high availability configuration.
Instance Attribute Summary collapse
-
#desired_capacity ⇒ Numeric
readonly
The number of instances in a high availability configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(desired_capacity:) ⇒ HighAvailabilityConfigProperty
constructor
A new instance of HighAvailabilityConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(desired_capacity:) ⇒ HighAvailabilityConfigProperty
Returns a new instance of HighAvailabilityConfigProperty.
792 793 794 795 |
# File 'm2/cfn_environment.rb', line 792 def initialize(desired_capacity:) @desired_capacity = desired_capacity Jsii::Type.check_type(@desired_capacity, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "desiredCapacity") end |
Instance Attribute Details
#desired_capacity ⇒ Numeric (readonly)
The number of instances in a high availability configuration.
The minimum possible value is 1 and the maximum is 100.
803 804 805 |
# File 'm2/cfn_environment.rb', line 803 def desired_capacity @desired_capacity end |
Class Method Details
.jsii_properties ⇒ Object
805 806 807 808 809 |
# File 'm2/cfn_environment.rb', line 805 def self.jsii_properties { :desired_capacity => "desiredCapacity", } end |
Instance Method Details
#to_jsii ⇒ Object
811 812 813 814 815 816 817 |
# File 'm2/cfn_environment.rb', line 811 def to_jsii result = {} result.merge!({ "desiredCapacity" => @desired_capacity, }) result.compact end |