Class: AWSCDK::ServiceDiscovery::CfnPublicDNSNamespace::PublicDNSPropertiesMutableProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceDiscovery::CfnPublicDNSNamespace::PublicDNSPropertiesMutableProperty
- Defined in:
- service_discovery/cfn_public_dns_namespace.rb
Overview
DNS properties for the public DNS namespace.
Instance Attribute Summary collapse
-
#soa ⇒ AWSCDK::IResolvable, ...
readonly
Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(soa: nil) ⇒ PublicDNSPropertiesMutableProperty
constructor
A new instance of PublicDNSPropertiesMutableProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(soa: nil) ⇒ PublicDNSPropertiesMutableProperty
Returns a new instance of PublicDNSPropertiesMutableProperty.
610 611 612 613 |
# File 'service_discovery/cfn_public_dns_namespace.rb', line 610 def initialize(soa: nil) @soa = soa.is_a?(Hash) ? ::AWSCDK::ServiceDiscovery::CfnPublicDNSNamespace::SOAProperty.new(**soa.transform_keys(&:to_sym)) : soa Jsii::Type.check_type(@soa, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXJ2aWNlZGlzY292ZXJ5LkNmblB1YmxpY0Ruc05hbWVzcGFjZS5TT0FQcm9wZXJ0eSJ9XX19")), "soa") unless @soa.nil? end |
Instance Attribute Details
#soa ⇒ AWSCDK::IResolvable, ... (readonly)
Start of Authority (SOA) record for the hosted zone for the public DNS namespace.
619 620 621 |
# File 'service_discovery/cfn_public_dns_namespace.rb', line 619 def soa @soa end |
Class Method Details
.jsii_properties ⇒ Object
621 622 623 624 625 |
# File 'service_discovery/cfn_public_dns_namespace.rb', line 621 def self.jsii_properties { :soa => "soa", } end |
Instance Method Details
#to_jsii ⇒ Object
627 628 629 630 631 632 633 |
# File 'service_discovery/cfn_public_dns_namespace.rb', line 627 def to_jsii result = {} result.merge!({ "soa" => @soa, }) result.compact end |