Class: Aws::EC2::Types::DnsOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes the DNS options for an endpoint.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dns_record_ip_type ⇒ String

The DNS records created for the endpoint.

Returns:

  • (String)


40743
40744
40745
40746
40747
40748
40749
40750
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40743

class DnsOptions < Struct.new(
  :dns_record_ip_type,
  :private_dns_only_for_inbound_resolver_endpoint,
  :private_dns_preference,
  :private_dns_specified_domains)
  SENSITIVE = []
  include Aws::Structure
end

#private_dns_only_for_inbound_resolver_endpoint ⇒ Boolean

Indicates whether to enable private DNS only for inbound endpoints.

Returns:

  • (Boolean)


40743
40744
40745
40746
40747
40748
40749
40750
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40743

class DnsOptions < Struct.new(
  :dns_record_ip_type,
  :private_dns_only_for_inbound_resolver_endpoint,
  :private_dns_preference,
  :private_dns_specified_domains)
  SENSITIVE = []
  include Aws::Structure
end

#private_dns_preference ⇒ String

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.

  • ALL_DOMAINS - VPC Lattice provisions private hosted zones for all custom domain names.

  • VERIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone only if custom domain name has been verified by the provider.

  • VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS - VPC Lattice provisions private hosted zones for all verified custom domain names and other domain names that the resource consumer specifies. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

  • SPECIFIED_DOMAINS_ONLY - VPC Lattice provisions a private hosted zone for domain names specified by the resource consumer. The resource consumer specifies the domain names in the PrivateDnsSpecifiedDomains parameter.

Returns:

  • (String)


40743
40744
40745
40746
40747
40748
40749
40750
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40743

class DnsOptions < Struct.new(
  :dns_record_ip_type,
  :private_dns_only_for_inbound_resolver_endpoint,
  :private_dns_preference,
  :private_dns_specified_domains)
  SENSITIVE = []
  include Aws::Structure
end

#private_dns_specified_domains ⇒ Array<String>

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.

Returns:

  • (Array<String>)


40743
40744
40745
40746
40747
40748
40749
40750
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40743

class DnsOptions < Struct.new(
  :dns_record_ip_type,
  :private_dns_only_for_inbound_resolver_endpoint,
  :private_dns_preference,
  :private_dns_specified_domains)
  SENSITIVE = []
  include Aws::Structure
end