Class: AWSCDK::SAM::CfnHttpAPI::Route53ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnHttpAPI::Route53ConfigurationProperty
- Defined in:
- sam/cfn_http_api.rb
Overview
Instance Attribute Summary collapse
- #distributed_domain_name ⇒ String? readonly
- #evaluate_target_health ⇒ Boolean, ... readonly
- #hosted_zone_id ⇒ String? readonly
- #hosted_zone_name ⇒ String? readonly
- #ip_v6 ⇒ Boolean, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(distributed_domain_name: nil, evaluate_target_health: nil, hosted_zone_id: nil, hosted_zone_name: nil, ip_v6: nil) ⇒ Route53ConfigurationProperty
constructor
A new instance of Route53ConfigurationProperty.
- #to_jsii ⇒ Object
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.
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_name ⇒ String? (readonly)
930 931 932 |
# File 'sam/cfn_http_api.rb', line 930 def distributed_domain_name @distributed_domain_name end |
#evaluate_target_health ⇒ Boolean, ... (readonly)
933 934 935 |
# File 'sam/cfn_http_api.rb', line 933 def evaluate_target_health @evaluate_target_health end |
#hosted_zone_id ⇒ String? (readonly)
936 937 938 |
# File 'sam/cfn_http_api.rb', line 936 def hosted_zone_id @hosted_zone_id end |
#hosted_zone_name ⇒ String? (readonly)
939 940 941 |
# File 'sam/cfn_http_api.rb', line 939 def hosted_zone_name @hosted_zone_name end |
#ip_v6 ⇒ Boolean, ... (readonly)
942 943 944 |
# File 'sam/cfn_http_api.rb', line 942 def ip_v6 @ip_v6 end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |