Class: AWSCDK::SAM::CfnHttpAPI::Route53ConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sam/cfn_http_api.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(distributed_domain_name: nil, evaluate_target_health: nil, hosted_zone_id: nil, hosted_zone_name: nil, ip_v6: nil) ⇒ Route53ConfigurationProperty

Returns a new instance of Route53ConfigurationProperty.

Parameters:

  • distributed_domain_name (String, nil) (defaults to: nil)
  • evaluate_target_health (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)
  • hosted_zone_id (String, nil) (defaults to: nil)
  • hosted_zone_name (String, nil) (defaults to: nil)
  • ip_v6 (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)


915
916
917
918
919
920
921
922
923
924
925
926
# File 'sam/cfn_http_api.rb', line 915

def initialize(distributed_domain_name: nil, evaluate_target_health: nil, hosted_zone_id: nil, hosted_zone_name: nil, ip_v6: nil)
  @distributed_domain_name = distributed_domain_name
  Jsii::Type.check_type(@distributed_domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "distributedDomainName") unless @distributed_domain_name.nil?
  @evaluate_target_health = evaluate_target_health
  Jsii::Type.check_type(@evaluate_target_health, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "evaluateTargetHealth") unless @evaluate_target_health.nil?
  @hosted_zone_id = hosted_zone_id
  Jsii::Type.check_type(@hosted_zone_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostedZoneId") unless @hosted_zone_id.nil?
  @hosted_zone_name = hosted_zone_name
  Jsii::Type.check_type(@hosted_zone_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "hostedZoneName") unless @hosted_zone_name.nil?
  @ip_v6 = ip_v6
  Jsii::Type.check_type(@ip_v6, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "ipV6") unless @ip_v6.nil?
end

Instance Attribute Details

#distributed_domain_nameString? (readonly)



930
931
932
# File 'sam/cfn_http_api.rb', line 930

def distributed_domain_name
  @distributed_domain_name
end

#evaluate_target_healthBoolean, ... (readonly)



933
934
935
# File 'sam/cfn_http_api.rb', line 933

def evaluate_target_health
  @evaluate_target_health
end

#hosted_zone_idString? (readonly)



936
937
938
# File 'sam/cfn_http_api.rb', line 936

def hosted_zone_id
  @hosted_zone_id
end

#hosted_zone_nameString? (readonly)



939
940
941
# File 'sam/cfn_http_api.rb', line 939

def hosted_zone_name
  @hosted_zone_name
end

#ip_v6Boolean, ... (readonly)



942
943
944
# File 'sam/cfn_http_api.rb', line 942

def ip_v6
  @ip_v6
end

Class Method Details

.jsii_propertiesObject



944
945
946
947
948
949
950
951
952
# File 'sam/cfn_http_api.rb', line 944

def self.jsii_properties
  {
    :distributed_domain_name => "distributedDomainName",
    :evaluate_target_health => "evaluateTargetHealth",
    :hosted_zone_id => "hostedZoneId",
    :hosted_zone_name => "hostedZoneName",
    :ip_v6 => "ipV6",
  }
end

Instance Method Details

#to_jsiiObject



954
955
956
957
958
959
960
961
962
963
964
# File 'sam/cfn_http_api.rb', line 954

def to_jsii
  result = {}
  result.merge!({
    "distributedDomainName" => @distributed_domain_name,
    "evaluateTargetHealth" => @evaluate_target_health,
    "hostedZoneId" => @hosted_zone_id,
    "hostedZoneName" => @hosted_zone_name,
    "ipV6" => @ip_v6,
  })
  result.compact
end