Class: AWSCDK::ARCRegionSwitch::CfnPlan::Route53HealthCheckConfigurationProperty

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

Overview

The Amazon Route 53 health check configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • hosted_zone_id (String)

    The Amazon Route 53 health check configuration hosted zone ID.

  • record_name (String)

    The Amazon Route 53 health check configuration record name.

  • cross_account_role (String, nil) (defaults to: nil)

    The cross account role for the configuration.

  • external_id (String, nil) (defaults to: nil)

    The external ID (secret key) for the configuration.

  • record_sets (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ARCRegionSwitch::CfnPlan::Route53ResourceRecordSetProperty>, nil) (defaults to: nil)

    The Amazon Route 53 health check configuration record sets.

  • timeout_minutes (Numeric, nil) (defaults to: nil)

    The Amazon Route 53 health check configuration time out (in minutes).



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 = 
  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_roleString? (readonly)

The cross account role for the configuration.



2763
2764
2765
# File 'arc_region_switch/cfn_plan.rb', line 2763

def 
  @cross_account_role
end

#external_idString? (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_idString (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_nameString (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_setsAWSCDK::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_minutesNumeric? (readonly)

Note:

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_propertiesObject



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_jsiiObject



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