Class: Aws::EC2::Types::LaunchTemplatePrivateDnsNameOptionsRequest

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

Overview

Describes the options for instance hostnames.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enable_resource_name_dns_a_recordBoolean

Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

Returns:

  • (Boolean)


45358
45359
45360
45361
45362
45363
45364
# File 'lib/aws-sdk-ec2/types.rb', line 45358

class LaunchTemplatePrivateDnsNameOptionsRequest < Struct.new(
  :hostname_type,
  :enable_resource_name_dns_a_record,
  :enable_resource_name_dns_aaaa_record)
  SENSITIVE = []
  include Aws::Structure
end

#enable_resource_name_dns_aaaa_recordBoolean

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

Returns:

  • (Boolean)


45358
45359
45360
45361
45362
45363
45364
# File 'lib/aws-sdk-ec2/types.rb', line 45358

class LaunchTemplatePrivateDnsNameOptionsRequest < Struct.new(
  :hostname_type,
  :enable_resource_name_dns_a_record,
  :enable_resource_name_dns_aaaa_record)
  SENSITIVE = []
  include Aws::Structure
end

#hostname_typeString

The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.

Returns:

  • (String)


45358
45359
45360
45361
45362
45363
45364
# File 'lib/aws-sdk-ec2/types.rb', line 45358

class LaunchTemplatePrivateDnsNameOptionsRequest < Struct.new(
  :hostname_type,
  :enable_resource_name_dns_a_record,
  :enable_resource_name_dns_aaaa_record)
  SENSITIVE = []
  include Aws::Structure
end