Class: AWSCDK::VPCLattice::CfnServiceNetworkVPCAssociation::DNSOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::VPCLattice::CfnServiceNetworkVPCAssociation::DNSOptionsProperty
- Defined in:
- vpc_lattice/cfn_service_network_vpc_association.rb
Overview
The DNS configuration options.
Instance Attribute Summary collapse
-
#private_dns_preference ⇒ String?
readonly
The preference for which private domains have a private hosted zone created for and associated with the specified VPC.
-
#private_dns_specified_domains ⇒ Array<String>?
readonly
Indicates which of the private domains to create private hosted zones for and associate with the specified VPC.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(private_dns_preference: nil, private_dns_specified_domains: nil) ⇒ DNSOptionsProperty
constructor
A new instance of DNSOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(private_dns_preference: nil, private_dns_specified_domains: nil) ⇒ DNSOptionsProperty
Returns a new instance of DNSOptionsProperty.
648 649 650 651 652 653 |
# File 'vpc_lattice/cfn_service_network_vpc_association.rb', line 648 def initialize(private_dns_preference: nil, private_dns_specified_domains: nil) @private_dns_preference = private_dns_preference Jsii::Type.check_type(@private_dns_preference, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "privateDnsPreference") unless @private_dns_preference.nil? @private_dns_specified_domains = private_dns_specified_domains Jsii::Type.check_type(@private_dns_specified_domains, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "privateDnsSpecifiedDomains") unless @private_dns_specified_domains.nil? end |
Instance Attribute Details
#private_dns_preference ⇒ String? (readonly)
The preference for which private domains have a private hosted zone created for and associated with the specified VPC.
Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
661 662 663 |
# File 'vpc_lattice/cfn_service_network_vpc_association.rb', line 661 def private_dns_preference @private_dns_preference end |
#private_dns_specified_domains ⇒ Array<String>? (readonly)
Indicates which of the private domains to create private hosted zones for and associate with the specified VPC.
Only supported when private DNS is enabled and the private DNS preference is VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS or SPECIFIED_DOMAINS_ONLY .
668 669 670 |
# File 'vpc_lattice/cfn_service_network_vpc_association.rb', line 668 def private_dns_specified_domains @private_dns_specified_domains end |
Class Method Details
.jsii_properties ⇒ Object
670 671 672 673 674 675 |
# File 'vpc_lattice/cfn_service_network_vpc_association.rb', line 670 def self.jsii_properties { :private_dns_preference => "privateDnsPreference", :private_dns_specified_domains => "privateDnsSpecifiedDomains", } end |
Instance Method Details
#to_jsii ⇒ Object
677 678 679 680 681 682 683 684 |
# File 'vpc_lattice/cfn_service_network_vpc_association.rb', line 677 def to_jsii result = {} result.merge!({ "privateDnsPreference" => @private_dns_preference, "privateDnsSpecifiedDomains" => @private_dns_specified_domains, }) result.compact end |