Class: AWSCDK::VPCLattice::CfnServiceNetworkServiceAssociation::DNSEntryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::VPCLattice::CfnServiceNetworkServiceAssociation::DNSEntryProperty
- Defined in:
- vpc_lattice/cfn_service_network_service_association.rb
Overview
The DNS information.
Instance Attribute Summary collapse
-
#domain_name ⇒ String?
readonly
The domain name of the service.
-
#hosted_zone_id ⇒ String?
readonly
The ID of the hosted zone.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_name: nil, hosted_zone_id: nil) ⇒ DNSEntryProperty
constructor
A new instance of DNSEntryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_name: nil, hosted_zone_id: nil) ⇒ DNSEntryProperty
Returns a new instance of DNSEntryProperty.
654 655 656 657 658 659 |
# File 'vpc_lattice/cfn_service_network_service_association.rb', line 654 def initialize(domain_name: nil, hosted_zone_id: nil) @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") unless @domain_name.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? end |
Instance Attribute Details
#domain_name ⇒ String? (readonly)
The domain name of the service.
665 666 667 |
# File 'vpc_lattice/cfn_service_network_service_association.rb', line 665 def domain_name @domain_name end |
#hosted_zone_id ⇒ String? (readonly)
The ID of the hosted zone.
670 671 672 |
# File 'vpc_lattice/cfn_service_network_service_association.rb', line 670 def hosted_zone_id @hosted_zone_id end |
Class Method Details
.jsii_properties ⇒ Object
672 673 674 675 676 677 |
# File 'vpc_lattice/cfn_service_network_service_association.rb', line 672 def self.jsii_properties { :domain_name => "domainName", :hosted_zone_id => "hostedZoneId", } end |
Instance Method Details
#to_jsii ⇒ Object
679 680 681 682 683 684 685 686 |
# File 'vpc_lattice/cfn_service_network_service_association.rb', line 679 def to_jsii result = {} result.merge!({ "domainName" => @domain_name, "hostedZoneId" => @hosted_zone_id, }) result.compact end |