Other Top-Level Attributes - AWS OpsWorks

Other Top-Level Attributes

This section contains top-level stack configuration attributes that do not have child attributes.

rails Attributes

Contains a max_pool_size attribute that specifies the server's maximum pool size (number). The attribute value is set by AWS OpsWorks Stacks and depends on the instance type, but you can override it by using custom JSON or a custom attribute file.

recipes Attributes

A list of the built-in recipes that were run by this activity, using the "cookbookname::recipename" format (list of string).

opsworks_rubygems Attributes

Contains a version element that specifies the RubyGems version (string).

languages Attributes

Contains an attribute for each installed language, named for the language, such as ruby. The attribute is an object that contains an attribute, such as ruby_bin, that specifies the installation folder, such as "/usr/bin/ruby" (string).

ssh_users Attributes

Contains a set of attributes, each of which describes one of the IAM users that have been granted SSH permissions. Each attribute is named with a user's Unix ID. AWS OpsWorks Stacks generates a unique ID for each user in the 2000-4000 range, such as "2001", and creates a user with that ID on every instance. Because AWS OpsWorks reserves the 2000-4000 range, users that you create outside of AWS OpsWorks (by using cookbook recipes, or by importing users into AWS OpsWorks from IAM, for example) can have UIDs that are overwritten by AWS OpsWorks Stacks for another user. As a best practice, create users and manage their access in the AWS OpsWorks Stacks console. If you do create users outside of AWS OpsWorks Stacks, use UnixID values greater than 4000.

Each attribute contains the following attributes:


The IAM user's e-mail address (string).


The IAM user's public SSH key (string).


Whether the IAM user has sudo permissions (Boolean).


The IAM user name (string).