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.KeyValuePair

Description

 
Synopsis

Documentation

data KeyValuePair Source #

A key-value pair object.

See: newKeyValuePair smart constructor.

Constructors

KeyValuePair' 

Fields

  • value :: Maybe Text

    The value of the key-value pair. For environment variables, this is the value of the environment variable.

  • name :: Maybe Text

    The name of the key-value pair. For environment variables, this is the name of the environment variable.

Instances

Instances details
Eq KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

Read KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

Show KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

Generic KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

Associated Types

type Rep KeyValuePair :: Type -> Type #

NFData KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

Methods

rnf :: KeyValuePair -> () #

Hashable KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

ToJSON KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

FromJSON KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

type Rep KeyValuePair Source # 
Instance details

Defined in Amazonka.ECS.Types.KeyValuePair

type Rep KeyValuePair = D1 ('MetaData "KeyValuePair" "Amazonka.ECS.Types.KeyValuePair" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "KeyValuePair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newKeyValuePair :: KeyValuePair Source #

Create a value of KeyValuePair 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:value:KeyValuePair', keyValuePair_value - The value of the key-value pair. For environment variables, this is the value of the environment variable.

$sel:name:KeyValuePair', keyValuePair_name - The name of the key-value pair. For environment variables, this is the name of the environment variable.

keyValuePair_value :: Lens' KeyValuePair (Maybe Text) Source #

The value of the key-value pair. For environment variables, this is the value of the environment variable.

keyValuePair_name :: Lens' KeyValuePair (Maybe Text) Source #

The name of the key-value pair. For environment variables, this is the name of the environment variable.