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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/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 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the exported environment variable.

Returns:

  • (String)


2311
2312
2313
2314
2315
2316
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2311

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

#valueString

The value assigned to the exported environment variable.

Returns:

  • (String)


2311
2312
2313
2314
2315
2316
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2311

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