ExportedEnvironmentVariable - AWS CodeBuild


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.



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


The name of the exported environment variable.

Type: String

Length Constraints: Minimum length of 1.

Required: No


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: