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