Menu
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.

Syntax

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

JSON

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

YAML

Copy
Name: String Type: String Value: String

Properties

Name

The name of an environment variable.

Required: Yes

Type: String

Type

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

Value

The value of the environment variable.

Required: Yes

Type: String

On this page: