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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3246
3247
3248
3249
3250
3251
3252
# File 'lib/aws-sdk-opsworks/types.rb', line 3246

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

#secureBoolean

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

Returns:

  • (Boolean)


3246
3247
3248
3249
3250
3251
3252
# File 'lib/aws-sdk-opsworks/types.rb', line 3246

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)


3246
3247
3248
3249
3250
3251
3252
# File 'lib/aws-sdk-opsworks/types.rb', line 3246

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