Class: Aws::OpsWorks::Types::EnvironmentVariable
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::EnvironmentVariable
- 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
-
#key ⇒ String
(Required) The environment variable's name, which can consist of up to 64 characters and must be specified.
-
#secure ⇒ Boolean
(Optional) Whether the variable's value will be returned by the DescribeApps action.
-
#value ⇒ String
(Optional) The environment variable's value, which can be left empty.
Instance Attribute Details
#key ⇒ 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.
3246 3247 3248 3249 3250 3251 3252 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3246 class EnvironmentVariable < Struct.new( :key, :value, :secure) SENSITIVE = [] include Aws::Structure end |
#secure ⇒ Boolean
(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
.
3246 3247 3248 3249 3250 3251 3252 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3246 class EnvironmentVariable < Struct.new( :key, :value, :secure) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
(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.
3246 3247 3248 3249 3250 3251 3252 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3246 class EnvironmentVariable < Struct.new( :key, :value, :secure) SENSITIVE = [] include Aws::Structure end |