# Attribute

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/StarlarkAttrModuleApi.java" %} {% dynamic setvar version "7.5.0" %} {% dynamic setvar original_path "/rules/lib/builtins/Attribute" %} {% include "_buttons.html" %} Representation of a definition of an attribute. Use the attr module to create an Attribute. They are only for use with a rule or an aspect.