AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Represents an app's environment variable.

Inheritance Hierarchy

System.Object
  Amazon.OpsWorks.Model.EnvironmentVariable

Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class EnvironmentVariable : Object

The EnvironmentVariable type exposes the following members

Constructors

NameDescription
Public Method EnvironmentVariable()

Properties

NameTypeDescription
Public Property Key System.String Gets and sets the property 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.

Public Property Secure System.Boolean Gets and sets the property Secure.

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

Public Property Value System.String Gets and sets the property 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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8