libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.HostEntry

Description

 
Synopsis

Documentation

data HostEntry Source #

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.

Constructors

HostEntry' 

Fields

Instances

Instances details
Eq HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

Read HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

Show HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

Generic HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

Associated Types

type Rep HostEntry :: Type -> Type #

NFData HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

Methods

rnf :: HostEntry -> () #

Hashable HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

ToJSON HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

FromJSON HostEntry Source # 
Instance details

Defined in Amazonka.ECS.Types.HostEntry

type Rep HostEntry Source # 
Instance details

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)))

newHostEntry Source #

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.

hostEntry_hostname :: Lens' HostEntry Text Source #

The hostname to use in the /etc/hosts entry.

hostEntry_ipAddress :: Lens' HostEntry Text Source #

The IP address to use in the /etc/hosts entry.