Class: AWSCDK::ARCRegionSwitch::CfnPlan::HealthCheckStateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::HealthCheckStateProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
Instance Attribute Summary collapse
- #health_check_id ⇒ String? readonly
- #region ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(health_check_id: nil, region: nil) ⇒ HealthCheckStateProperty
constructor
A new instance of HealthCheckStateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(health_check_id: nil, region: nil) ⇒ HealthCheckStateProperty
Returns a new instance of HealthCheckStateProperty.
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_id ⇒ String? (readonly)
2063 2064 2065 |
# File 'arc_region_switch/cfn_plan.rb', line 2063 def health_check_id @health_check_id end |
#region ⇒ String? (readonly)
2066 2067 2068 |
# File 'arc_region_switch/cfn_plan.rb', line 2066 def region @region end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |