AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS CodeBuild Project EnvironmentVariable

The EnvironmentVariable property type specifies the name and value of an environment variable for an AWS CodeBuild project environment. When you use the environment to run a build, these variables are available for your builds to use.

The EnvironmentVariables property of the AWS CodeBuild Project Environment property type contains a list of EnvironmentVariable property types.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Name" : String, "Type" : String, "Value" : String }


Name: String Type: String Value: String



The name of an environment variable.

Required: Yes

Type: String


The type of environment variable. Valid values are:

  • PARAMETER_STORE: An environment variable stored in Systems Manager Parameter Store.

  • PLAINTEXT: An environment variable in plaintext format.

Required: No

Type: String


The value of the environment variable.

Required: Yes

Type: String

On this page: