Class: AWSCDK::ARCRegionSwitch::CfnPlan::Route53HealthCheckConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ARCRegionSwitch::CfnPlan::Route53HealthCheckConfigurationProperty
- Defined in:
- arc_region_switch/cfn_plan.rb
Overview
The Amazon Route 53 health check configuration.
Instance Attribute Summary collapse
-
#cross_account_role ⇒ String?
readonly
The cross account role for the configuration.
-
#external_id ⇒ String?
readonly
The external ID (secret key) for the configuration.
-
#hosted_zone_id ⇒ String
readonly
The Amazon Route 53 health check configuration hosted zone ID.
-
#record_name ⇒ String
readonly
The Amazon Route 53 health check configuration record name.
-
#record_sets ⇒ AWSCDK::IResolvable, ...
readonly
The Amazon Route 53 health check configuration record sets.
-
#timeout_minutes ⇒ Numeric?
readonly
The Amazon Route 53 health check configuration time out (in minutes).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hosted_zone_id:, record_name:, cross_account_role: nil, external_id: nil, record_sets: nil, timeout_minutes: nil) ⇒ Route53HealthCheckConfigurationProperty
constructor
A new instance of Route53HealthCheckConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(hosted_zone_id:, record_name:, cross_account_role: nil, external_id: nil, record_sets: nil, timeout_minutes: nil) ⇒ Route53HealthCheckConfigurationProperty
Returns a new instance of Route53HealthCheckConfigurationProperty.
2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 |
# File 'arc_region_switch/cfn_plan.rb', line 2734 def initialize(hosted_zone_id:, record_name:, cross_account_role: nil, external_id: nil, record_sets: nil, timeout_minutes: nil) @hosted_zone_id = hosted_zone_id Jsii::Type.check_type(@hosted_zone_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostedZoneId") @record_name = record_name Jsii::Type.check_type(@record_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "recordName") @cross_account_role = cross_account_role Jsii::Type.check_type(@cross_account_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "crossAccountRole") unless @cross_account_role.nil? @external_id = external_id Jsii::Type.check_type(@external_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "externalId") unless @external_id.nil? @record_sets = record_sets Jsii::Type.check_type(@record_sets, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXJjcmVnaW9uc3dpdGNoLkNmblBsYW4uUm91dGU1M1Jlc291cmNlUmVjb3JkU2V0UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "recordSets") unless @record_sets.nil? @timeout_minutes = timeout_minutes Jsii::Type.check_type(@timeout_minutes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timeoutMinutes") unless @timeout_minutes.nil? end |
Instance Attribute Details
#cross_account_role ⇒ String? (readonly)
The cross account role for the configuration.
2763 2764 2765 |
# File 'arc_region_switch/cfn_plan.rb', line 2763 def cross_account_role @cross_account_role end |
#external_id ⇒ String? (readonly)
The external ID (secret key) for the configuration.
2768 2769 2770 |
# File 'arc_region_switch/cfn_plan.rb', line 2768 def external_id @external_id end |
#hosted_zone_id ⇒ String (readonly)
The Amazon Route 53 health check configuration hosted zone ID.
2753 2754 2755 |
# File 'arc_region_switch/cfn_plan.rb', line 2753 def hosted_zone_id @hosted_zone_id end |
#record_name ⇒ String (readonly)
The Amazon Route 53 health check configuration record name.
2758 2759 2760 |
# File 'arc_region_switch/cfn_plan.rb', line 2758 def record_name @record_name end |
#record_sets ⇒ AWSCDK::IResolvable, ... (readonly)
The Amazon Route 53 health check configuration record sets.
2773 2774 2775 |
# File 'arc_region_switch/cfn_plan.rb', line 2773 def record_sets @record_sets end |
#timeout_minutes ⇒ Numeric? (readonly)
Default: - 60
The Amazon Route 53 health check configuration time out (in minutes).
2779 2780 2781 |
# File 'arc_region_switch/cfn_plan.rb', line 2779 def timeout_minutes @timeout_minutes end |
Class Method Details
.jsii_properties ⇒ Object
2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 |
# File 'arc_region_switch/cfn_plan.rb', line 2781 def self.jsii_properties { :hosted_zone_id => "hostedZoneId", :record_name => "recordName", :cross_account_role => "crossAccountRole", :external_id => "externalId", :record_sets => "recordSets", :timeout_minutes => "timeoutMinutes", } end |
Instance Method Details
#to_jsii ⇒ Object
2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 |
# File 'arc_region_switch/cfn_plan.rb', line 2792 def to_jsii result = {} result.merge!({ "hostedZoneId" => @hosted_zone_id, "recordName" => @record_name, "crossAccountRole" => @cross_account_role, "externalId" => @external_id, "recordSets" => @record_sets, "timeoutMinutes" => @timeout_minutes, }) result.compact end |