Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data HostEntry = HostEntry' {}
- newHostEntry :: Text -> Text -> HostEntry
- hostEntry_hostname :: Lens' HostEntry Text
- hostEntry_ipAddress :: Lens' HostEntry Text
Documentation
Hostnames and IP address entries that are added to the /etc/hosts
file of a container via the extraHosts
parameter of its
ContainerDefinition.
See: newHostEntry
smart constructor.
Instances
Eq HostEntry Source # | |
Read HostEntry Source # | |
Show HostEntry Source # | |
Generic HostEntry Source # | |
NFData HostEntry Source # | |
Defined in Amazonka.ECS.Types.HostEntry | |
Hashable HostEntry Source # | |
Defined in Amazonka.ECS.Types.HostEntry | |
ToJSON HostEntry Source # | |
Defined in Amazonka.ECS.Types.HostEntry | |
FromJSON HostEntry Source # | |
type Rep HostEntry Source # | |
Defined in Amazonka.ECS.Types.HostEntry type Rep HostEntry = D1 ('MetaData "HostEntry" "Amazonka.ECS.Types.HostEntry" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "HostEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of HostEntry
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:hostname:HostEntry'
, hostEntry_hostname
- The hostname to use in the /etc/hosts
entry.
$sel:ipAddress:HostEntry'
, hostEntry_ipAddress
- The IP address to use in the /etc/hosts
entry.