Class: AWSCDK::VPCLattice::CfnResourceConfiguration::DNSResourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
vpc_lattice/cfn_resource_configuration.rb

Overview

The domain name of the resource configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_name:, ip_address_type:) ⇒ DNSResourceProperty

Returns a new instance of DNSResourceProperty.

Parameters:

  • domain_name (String)

    The domain name of the resource configuration.

  • ip_address_type (String)

    The IP address type for the resource configuration.



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_nameString (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_typeString (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_propertiesObject



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_jsiiObject



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