Class: AWSCDK::SAM::CfnAPI::Route53ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnAPI::Route53ConfigurationProperty
- Defined in:
- sam/cfn_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.
1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'sam/cfn_api.rb', line 1123 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)
1138 1139 1140 |
# File 'sam/cfn_api.rb', line 1138 def distributed_domain_name @distributed_domain_name end |
#evaluate_target_health ⇒ Boolean, ... (readonly)
1141 1142 1143 |
# File 'sam/cfn_api.rb', line 1141 def evaluate_target_health @evaluate_target_health end |
#hosted_zone_id ⇒ String? (readonly)
1144 1145 1146 |
# File 'sam/cfn_api.rb', line 1144 def hosted_zone_id @hosted_zone_id end |
#hosted_zone_name ⇒ String? (readonly)
1147 1148 1149 |
# File 'sam/cfn_api.rb', line 1147 def hosted_zone_name @hosted_zone_name end |
#ip_v6 ⇒ Boolean, ... (readonly)
1150 1151 1152 |
# File 'sam/cfn_api.rb', line 1150 def ip_v6 @ip_v6 end |
Class Method Details
.jsii_properties ⇒ Object
1152 1153 1154 1155 1156 1157 1158 1159 1160 |
# File 'sam/cfn_api.rb', line 1152 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
1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 |
# File 'sam/cfn_api.rb', line 1162 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 |