ExportedEnvironmentVariable - AWS CodeBuild

ExportedEnvironmentVariable

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.

Note

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.

Contents

Note

In the following list, the required parameters are described first.

name

The name of the exported environment variable.

Type: String

Length Constraints: Minimum length of 1.

Required: No

value

The value assigned to the exported environment variable.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: