> ## Documentation Index
> Fetch the complete documentation index at: https://bazel-pr-29840.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Attribute

Representation of a definition of an attribute. Use the [attr](/versions/8.2.1/rules/lib/toplevel/attr) module to create an Attribute. They are only for use with a [rule](/versions/8.2.1/rules/lib/globals/bzl#rule) or an [aspect](/versions/8.2.1/rules/lib/globals/bzl#aspect).
