libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53Resolver.Types.TargetAddress

Description

 
Synopsis

Documentation

data TargetAddress Source #

In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.

See: newTargetAddress smart constructor.

Constructors

TargetAddress' 

Fields

  • port :: Maybe Natural

    The port at Ip that you want to forward DNS queries to.

  • ip :: Text

    One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.

Instances

Instances details
Eq TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

Read TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

Show TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

Generic TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

Associated Types

type Rep TargetAddress :: Type -> Type #

NFData TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

Methods

rnf :: TargetAddress -> () #

Hashable TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

ToJSON TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

FromJSON TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

type Rep TargetAddress Source # 
Instance details

Defined in Amazonka.Route53Resolver.Types.TargetAddress

type Rep TargetAddress = D1 ('MetaData "TargetAddress" "Amazonka.Route53Resolver.Types.TargetAddress" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "TargetAddress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "ip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTargetAddress Source #

Create a value of TargetAddress with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:port:TargetAddress', targetAddress_port - The port at Ip that you want to forward DNS queries to.

$sel:ip:TargetAddress', targetAddress_ip - One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.

targetAddress_port :: Lens' TargetAddress (Maybe Natural) Source #

The port at Ip that you want to forward DNS queries to.

targetAddress_ip :: Lens' TargetAddress Text Source #

One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.