Class: Aws::CodeBuild::Types::ExportedEnvironmentVariable

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codebuild/types.rb

Overview

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][1

in the *CodePipeline User Guide*.

<note markdown=“1”> 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.

</note>

[1]: docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the exported environment variable.

Returns:

  • (String)


2383
2384
2385
2386
2387
2388
# File 'lib/aws-sdk-codebuild/types.rb', line 2383

class ExportedEnvironmentVariable < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value assigned to the exported environment variable.

Returns:

  • (String)


2383
2384
2385
2386
2387
2388
# File 'lib/aws-sdk-codebuild/types.rb', line 2383

class ExportedEnvironmentVariable < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end