blob: 27ca690c003c07012136e8fd892b902668e9a69b [file]
---
title: 'Attribute'
---
Representation of a definition of an attribute. Use the [attr](/versions/9.1.0/rules/lib/toplevel/attr) module to create an Attribute. They are only for use with a [rule](/versions/9.1.0/rules/lib/globals/bzl#rule) or an [aspect](/versions/9.1.0/rules/lib/globals/bzl#aspect).