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

Amazon Elastic Container Service TaskDefinition KeyValuePair

Environment is a property of the Amazon Elastic Container Service TaskDefinition ContainerDefinition property that specifies environment variables for a container.

Syntax

JSON

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

YAML

Copy
Name: String Value: String

Properties

For more information about each property, see Task Definition Parameters in the Amazon Elastic Container Service Developer Guide.

Name

The name of the environment variable.

Required: Yes

Type: String

Value

The value of the environment variable.

Required: Yes

Type: String

On this page: