Class: AWSCDK::ARCRegionSwitch::CfnPlan::Route53HealthChecksProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::Route53HealthChecksProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
Instance Attribute Summary collapse
- #health_check_ids ⇒ Array<String>? readonly
- #hosted_zone_ids ⇒ Array<String>? readonly
- #record_names ⇒ Array<String>? readonly
- #regions ⇒ Array<String>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(health_check_ids: nil, hosted_zone_ids: nil, record_names: nil, regions: nil) ⇒ Route53HealthChecksProperty
constructor
A new instance of Route53HealthChecksProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(health_check_ids: nil, hosted_zone_ids: nil, record_names: nil, regions: nil) ⇒ Route53HealthChecksProperty
Returns a new instance of Route53HealthChecksProperty.
2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 |
# File 'arc_region_switch/cfn_plan.rb', line 2814 def initialize(health_check_ids: nil, hosted_zone_ids: nil, record_names: nil, regions: nil) @health_check_ids = health_check_ids Jsii::Type.check_type(@health_check_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "healthCheckIds") unless @health_check_ids.nil? @hosted_zone_ids = hosted_zone_ids Jsii::Type.check_type(@hosted_zone_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "hostedZoneIds") unless @hosted_zone_ids.nil? @record_names = record_names Jsii::Type.check_type(@record_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "recordNames") unless @record_names.nil? @regions = regions Jsii::Type.check_type(@regions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "regions") unless @regions.nil? end |
Instance Attribute Details
#health_check_ids ⇒ Array<String>? (readonly)
2827 2828 2829 |
# File 'arc_region_switch/cfn_plan.rb', line 2827 def health_check_ids @health_check_ids end |
#hosted_zone_ids ⇒ Array<String>? (readonly)
2830 2831 2832 |
# File 'arc_region_switch/cfn_plan.rb', line 2830 def hosted_zone_ids @hosted_zone_ids end |
#record_names ⇒ Array<String>? (readonly)
2833 2834 2835 |
# File 'arc_region_switch/cfn_plan.rb', line 2833 def record_names @record_names end |
#regions ⇒ Array<String>? (readonly)
2836 2837 2838 |
# File 'arc_region_switch/cfn_plan.rb', line 2836 def regions @regions end |
Class Method Details
.jsii_properties ⇒ Object
2838 2839 2840 2841 2842 2843 2844 2845 |
# File 'arc_region_switch/cfn_plan.rb', line 2838 def self.jsii_properties { :health_check_ids => "healthCheckIds", :hosted_zone_ids => "hostedZoneIds", :record_names => "recordNames", :regions => "regions", } end |
Instance Method Details
#to_jsii ⇒ Object
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 |
# File 'arc_region_switch/cfn_plan.rb', line 2847 def to_jsii result = {} result.merge!({ "healthCheckIds" => @health_check_ids, "hostedZoneIds" => @hosted_zone_ids, "recordNames" => @record_names, "regions" => @regions, }) result.compact end |