Create overrides to enable or disable different AOVs on each render layer, or export your AOVs and import them into another scene.
Create AOVs via the Render Settings window, AOVs tab. You can then follow these steps to create overrides on each render layer.
To create an override to disable AOVs
In the AOVs tab, right-click the checkbox beside the name of the AOV and select Create Absolute Override for Visible Layer.
An AOVs collection is created, along with a <AOV_name> sub-collection and an enable override.
To override the filter or driver attributes
You can cut, copy and paste an AOVs collection from one render layer to another, or AOV overrides (such as enabled, or mergeAOVs) from one sub-collection to another (or within itself). You cannot, however, cut, copy and paste an <AOV_name> sub-collection (such as direct_diffuse).
To export AOVs
Select File > Export Scene AOVs from the Render Setup editor to export your AOVs to a .json.
You can also click the icon on the Scene AOVs tab and select Export Current to export your AOVs.
To import AOVs
Upon import, you have two options:
Overwrite
All of your current AOVs are replaced with the imported ones.
Merge
Replace the existing AOVs with the imported ones if the nodes are identical (that is, they have the same name). AOVs that do not currently exist are imported without modification. AOVs that are currently in the scene but that do not exist in the imported .json file are preserved and left unmodified.