libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.Types.EnvironmentVariable

Description

 
Synopsis

Documentation

data EnvironmentVariable Source #

Represents an app's environment variable.

See: newEnvironmentVariable smart constructor.

Constructors

EnvironmentVariable' 

Fields

  • secure :: Maybe Bool

    (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set Secure to true. DescribeApps then returns *****FILTERED***** instead of the actual value. The default value for Secure is false.

  • key :: Text

    (Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.

  • value :: Text

    (Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.

Instances

Instances details
Eq EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

Read EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

Show EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

Generic EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

Associated Types

type Rep EnvironmentVariable :: Type -> Type #

NFData EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

Methods

rnf :: EnvironmentVariable -> () #

Hashable EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

ToJSON EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

FromJSON EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

type Rep EnvironmentVariable Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.EnvironmentVariable

type Rep EnvironmentVariable = D1 ('MetaData "EnvironmentVariable" "Amazonka.OpsWorks.Types.EnvironmentVariable" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "EnvironmentVariable'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newEnvironmentVariable Source #

Create a value of EnvironmentVariable 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:secure:EnvironmentVariable', environmentVariable_secure - (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set Secure to true. DescribeApps then returns *****FILTERED***** instead of the actual value. The default value for Secure is false.

$sel:key:EnvironmentVariable', environmentVariable_key - (Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.

$sel:value:EnvironmentVariable', environmentVariable_value - (Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.

environmentVariable_secure :: Lens' EnvironmentVariable (Maybe Bool) Source #

(Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set Secure to true. DescribeApps then returns *****FILTERED***** instead of the actual value. The default value for Secure is false.

environmentVariable_key :: Lens' EnvironmentVariable Text Source #

(Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.

environmentVariable_value :: Lens' EnvironmentVariable Text Source #

(Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.