AWS CloudFormation
User Guide (Version )

AWS::ECS::TaskDefinition KeyValuePair

The KeyValuePair property specifies a key-value pair object.

Syntax

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

JSON

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

YAML

Name: String Value: String

Properties

Name

The name of the key-value pair. For environment variables, this is the name of the environment variable.

Required: No

Type: String

Update requires: Replacement

Value

The value of the key-value pair. For environment variables, this is the value of the environment variable.

Required: No

Type: String

Update requires: Replacement

On this page: