AWSEC2PrivateDnsNameOptionsRequest

Objective-C

@interface AWSEC2PrivateDnsNameOptionsRequest

Swift

class AWSEC2PrivateDnsNameOptionsRequest

Describes the options for instance hostnames.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enableResourceNameDnsAAAARecord;

    Swift

    var enableResourceNameDnsAAAARecord: NSNumber? { get set }
  • Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enableResourceNameDnsARecord;

    Swift

    var enableResourceNameDnsARecord: NSNumber? { get set }
  • The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2HostnameType hostnameType;

    Swift

    var hostnameType: AWSEC2HostnameType { get set }