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