AWS::OpsWorks::App EnvironmentVariable - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::OpsWorks::App EnvironmentVariable

Represents an app's environment variable.


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


{ "Key" : String, "Secure" : Boolean, "Value" : String }


Key: String Secure: Boolean Value: String



(Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.

Required: Yes

Type: String

Update requires: No interruption


(Optional) Whether the variable's value is returned by the DescribeApps action. To hide an environment variable's value, set Secure to true. DescribeApps returns *****FILTERED***** instead of the actual value. The default value for Secure is false.

Required: No

Type: Boolean

Update requires: No interruption


(Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.

Required: Yes

Type: String

Update requires: No interruption