Class: AWSCDK::VPCLattice::CfnResourceConfiguration::DNSResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::VPCLattice::CfnResourceConfiguration::DNSResourceProperty
- Defined in:
- vpc_lattice/cfn_resource_configuration.rb
Overview
The domain name of the resource configuration.
Instance Attribute Summary collapse
-
#domain_name ⇒ String
readonly
The domain name of the resource configuration.
-
#ip_address_type ⇒ String
readonly
The IP address type for the resource configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_name:, ip_address_type:) ⇒ DNSResourceProperty
constructor
A new instance of DNSResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_name:, ip_address_type:) ⇒ DNSResourceProperty
Returns a new instance of DNSResourceProperty.
687 688 689 690 691 692 |
# File 'vpc_lattice/cfn_resource_configuration.rb', line 687 def initialize(domain_name:, ip_address_type:) @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") @ip_address_type = ip_address_type Jsii::Type.check_type(@ip_address_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipAddressType") end |
Instance Attribute Details
#domain_name ⇒ String (readonly)
The domain name of the resource configuration.
698 699 700 |
# File 'vpc_lattice/cfn_resource_configuration.rb', line 698 def domain_name @domain_name end |
#ip_address_type ⇒ String (readonly)
The IP address type for the resource configuration.
Dualstack is not currently supported.
705 706 707 |
# File 'vpc_lattice/cfn_resource_configuration.rb', line 705 def ip_address_type @ip_address_type end |
Class Method Details
.jsii_properties ⇒ Object
707 708 709 710 711 712 |
# File 'vpc_lattice/cfn_resource_configuration.rb', line 707 def self.jsii_properties { :domain_name => "domainName", :ip_address_type => "ipAddressType", } end |
Instance Method Details
#to_jsii ⇒ Object
714 715 716 717 718 719 720 721 |
# File 'vpc_lattice/cfn_resource_configuration.rb', line 714 def to_jsii result = {} result.merge!({ "domainName" => @domain_name, "ipAddressType" => @ip_address_type, }) result.compact end |