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.

Syntax

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

JSON

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

YAML

Key: String Secure: Boolean Value: String

Properties

Key

(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

Secure

(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

Value

(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