Class: Aws::OpsWorks::Types::EnvironmentVariable

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Represents an app's environment variable.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

(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.

Returns:

  • (String)


3258
3259
3260
3261
3262
3263
3264
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3258

class EnvironmentVariable < Struct.new(
  :key,
  :value,
  :secure)
  SENSITIVE = []
  include Aws::Structure
end

#secureBoolean

(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.

Returns:

  • (Boolean)


3258
3259
3260
3261
3262
3263
3264
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3258

class EnvironmentVariable < Struct.new(
  :key,
  :value,
  :secure)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

(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.

Returns:

  • (String)


3258
3259
3260
3261
3262
3263
3264
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3258

class EnvironmentVariable < Struct.new(
  :key,
  :value,
  :secure)
  SENSITIVE = []
  include Aws::Structure
end