Class: AWSCDK::ARCRegionSwitch::CfnPlan::HealthCheckStateProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
arc_region_switch/cfn_plan.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(health_check_id: nil, region: nil) ⇒ HealthCheckStateProperty

Returns a new instance of HealthCheckStateProperty.

Parameters:

  • health_check_id (String, nil) (defaults to: nil)
  • region (String, nil) (defaults to: nil)


2054
2055
2056
2057
2058
2059
# File 'arc_region_switch/cfn_plan.rb', line 2054

def initialize(health_check_id: nil, region: nil)
  @health_check_id = health_check_id
  Jsii::Type.check_type(@health_check_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "healthCheckId") unless @health_check_id.nil?
  @region = region
  Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") unless @region.nil?
end

Instance Attribute Details

#health_check_idString? (readonly)



2063
2064
2065
# File 'arc_region_switch/cfn_plan.rb', line 2063

def health_check_id
  @health_check_id
end

#regionString? (readonly)



2066
2067
2068
# File 'arc_region_switch/cfn_plan.rb', line 2066

def region
  @region
end

Class Method Details

.jsii_propertiesObject



2068
2069
2070
2071
2072
2073
# File 'arc_region_switch/cfn_plan.rb', line 2068

def self.jsii_properties
  {
    :health_check_id => "healthCheckId",
    :region => "region",
  }
end

Instance Method Details

#to_jsiiObject



2075
2076
2077
2078
2079
2080
2081
2082
# File 'arc_region_switch/cfn_plan.rb', line 2075

def to_jsii
  result = {}
  result.merge!({
    "healthCheckId" => @health_check_id,
    "region" => @region,
  })
  result.compact
end