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