Class: AWSCDK::CodeDeploy::CfnDeploymentConfig::MinimumHealthyHostsPerZoneProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeDeploy::CfnDeploymentConfig::MinimumHealthyHostsPerZoneProperty
- Defined in:
- code_deploy/cfn_deployment_config.rb
Overview
Information about the minimum number of healthy instances per Availability Zone.
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
The
typeassociated with theMinimumHealthyHostsPerZoneoption. -
#value ⇒ Numeric
readonly
The
valueassociated with theMinimumHealthyHostsPerZoneoption.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, value:) ⇒ MinimumHealthyHostsPerZoneProperty
constructor
A new instance of MinimumHealthyHostsPerZoneProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, value:) ⇒ MinimumHealthyHostsPerZoneProperty
Returns a new instance of MinimumHealthyHostsPerZoneProperty.
550 551 552 553 554 555 |
# File 'code_deploy/cfn_deployment_config.rb', line 550 def initialize(type:, value:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "value") end |
Instance Attribute Details
#type ⇒ String (readonly)
The type associated with the MinimumHealthyHostsPerZone option.
561 562 563 |
# File 'code_deploy/cfn_deployment_config.rb', line 561 def type @type end |
#value ⇒ Numeric (readonly)
The value associated with the MinimumHealthyHostsPerZone option.
566 567 568 |
# File 'code_deploy/cfn_deployment_config.rb', line 566 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
568 569 570 571 572 573 |
# File 'code_deploy/cfn_deployment_config.rb', line 568 def self.jsii_properties { :type => "type", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
575 576 577 578 579 580 581 582 |
# File 'code_deploy/cfn_deployment_config.rb', line 575 def to_jsii result = {} result.merge!({ "type" => @type, "value" => @value, }) result.compact end |