Class: AWSCDK::Autoscaling::ELBHealthCheckOptions Deprecated
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Autoscaling::ELBHealthCheckOptions
- Defined in:
- autoscaling/elb_health_check_options.rb
Overview
Deprecated.
Use AdditionalHealthChecksOptions instead
ELB Heath check options.
Instance Attribute Summary collapse
-
#grace ⇒ AWSCDK::Duration
readonly
Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(grace:) ⇒ ELBHealthCheckOptions
constructor
A new instance of ELBHealthCheckOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(grace:) ⇒ ELBHealthCheckOptions
Returns a new instance of ELBHealthCheckOptions.
10 11 12 13 |
# File 'autoscaling/elb_health_check_options.rb', line 10 def initialize(grace:) @grace = grace Jsii::Type.check_type(@grace, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "grace") end |
Instance Attribute Details
#grace ⇒ AWSCDK::Duration (readonly)
Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
This option is required for ELB health checks.
20 21 22 |
# File 'autoscaling/elb_health_check_options.rb', line 20 def grace @grace end |
Class Method Details
.jsii_properties ⇒ Object
22 23 24 25 26 |
# File 'autoscaling/elb_health_check_options.rb', line 22 def self.jsii_properties { :grace => "grace", } end |
Instance Method Details
#to_jsii ⇒ Object
28 29 30 31 32 33 34 |
# File 'autoscaling/elb_health_check_options.rb', line 28 def to_jsii result = {} result.merge!({ "grace" => @grace, }) result.compact end |