amazonka-codebuild-2.0: Amazon CodeBuild SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

Description

 
Synopsis

Documentation

data ExportedEnvironmentVariable Source #

Contains information about an exported environment variable.

Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.

During a build, the value of a variable is available starting with the install phase. It can be updated between the start of the install phase and the end of the post_build phase. After the post_build phase ends, the value of exported variables cannot change.

See: newExportedEnvironmentVariable smart constructor.

Constructors

ExportedEnvironmentVariable' 

Fields

  • name :: Maybe Text

    The name of the exported environment variable.

  • value :: Maybe Text

    The value assigned to the exported environment variable.

Instances

Instances details
FromJSON ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

Generic ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

Associated Types

type Rep ExportedEnvironmentVariable :: Type -> Type #

Read ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

Show ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

NFData ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

Eq ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

Hashable ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

type Rep ExportedEnvironmentVariable Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ExportedEnvironmentVariable

type Rep ExportedEnvironmentVariable = D1 ('MetaData "ExportedEnvironmentVariable" "Amazonka.CodeBuild.Types.ExportedEnvironmentVariable" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "ExportedEnvironmentVariable'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newExportedEnvironmentVariable :: ExportedEnvironmentVariable Source #

Create a value of ExportedEnvironmentVariable 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:name:ExportedEnvironmentVariable', exportedEnvironmentVariable_name - The name of the exported environment variable.

$sel:value:ExportedEnvironmentVariable', exportedEnvironmentVariable_value - The value assigned to the exported environment variable.

exportedEnvironmentVariable_name :: Lens' ExportedEnvironmentVariable (Maybe Text) Source #

The name of the exported environment variable.

exportedEnvironmentVariable_value :: Lens' ExportedEnvironmentVariable (Maybe Text) Source #

The value assigned to the exported environment variable.