ruby Attributes
Important
AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.
Note
These attributes are available only on Linux stacks.
The ruby
attributes
- full_version
-
The full version number (string). You should not override this attribute. Instead, use [:opsworks][:ruby_version] and the appropriate patch version attribute to specify a version.
[:ruby][:full_version]
- major_version
-
The major version number (string). You should not override this attribute. Instead, use [:opsworks][:ruby_version] to specify the major version.
[:ruby][:major_version]
- minor_version
-
The minor version number (string). You should not override this attribute. Instead, use [:opsworks][:ruby_version] to specify the minor version.
[:ruby][:minor_version]
- patch
-
The patch level (string). This attribute is valid for Ruby version 2.0.0 and earlier. For later Ruby versions, use the
patch_version
attribute.[:ruby][:patch]
The patch number must be prefaced by
p
. For example, you would use the following custom JSON to specify patch level 484.{ "ruby":{"patch":"p484"} }
- patch_version
-
The patch number (string). This attribute is valid for Ruby version 2.1 and later. For earlier Ruby versions, use the
patch
attribute.[:ruby][:patch_version]
- pkgrelease
-
The package release number (string).
[:ruby][:pkgrelease]