Class: AWSCDK::Autoscaling::ELBHealthCheckOptions Deprecated

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
autoscaling/elb_health_check_options.rb

Overview

Deprecated.

Use AdditionalHealthChecksOptions instead

ELB Heath check options.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(grace:) ⇒ ELBHealthCheckOptions

Returns a new instance of ELBHealthCheckOptions.

Parameters:

  • grace (AWSCDK::Duration)

    Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service.



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

#graceAWSCDK::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.

Returns:



20
21
22
# File 'autoscaling/elb_health_check_options.rb', line 20

def grace
  @grace
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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