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