Class: AWSCDK::ServiceDiscovery::CfnPrivateDNSNamespace::PrivateDNSPropertiesMutableProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
service_discovery/cfn_private_dns_namespace.rb

Overview

DNS properties for the private DNS namespace.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(soa: nil) ⇒ PrivateDNSPropertiesMutableProperty

Returns a new instance of PrivateDNSPropertiesMutableProperty.

Parameters:



588
589
590
591
# File 'service_discovery/cfn_private_dns_namespace.rb', line 588

def initialize(soa: nil)
  @soa = soa.is_a?(Hash) ? ::AWSCDK::ServiceDiscovery::CfnPrivateDNSNamespace::SOAProperty.new(**soa.transform_keys(&:to_sym)) : soa
  Jsii::Type.check_type(@soa, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXJ2aWNlZGlzY292ZXJ5LkNmblByaXZhdGVEbnNOYW1lc3BhY2UuU09BUHJvcGVydHkifV19fQ==")), "soa") unless @soa.nil?
end

Instance Attribute Details

#soaAWSCDK::IResolvable, ... (readonly)

Fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.



597
598
599
# File 'service_discovery/cfn_private_dns_namespace.rb', line 597

def soa
  @soa
end

Class Method Details

.jsii_propertiesObject



599
600
601
602
603
# File 'service_discovery/cfn_private_dns_namespace.rb', line 599

def self.jsii_properties
  {
    :soa => "soa",
  }
end

Instance Method Details

#to_jsiiObject



605
606
607
608
609
610
611
# File 'service_discovery/cfn_private_dns_namespace.rb', line 605

def to_jsii
  result = {}
  result.merge!({
    "soa" => @soa,
  })
  result.compact
end