Labels
A label is a key-value pair used for logical bucket and object labeling.
Note
In Yandex Cloud terminology, we use the label concept to denote logical resource labeling. However, as Object Storage is compatible with Amazon S3 API
Bucket labels
Buckets support labels Yandex Resource Manager.
You can view spending details for buckets or other resources of Yandex Cloud services marked with a specific label. For example, using labels, you can view expenses for a particular project or organization department.
You can view expenses by labeled resources in a CSV file with usage details and on the Yandex DataLens dashboard.
Bucket label operation limits:
- Maximum number of labels per resource: 64.
- Label key parameters:
- It may be up to 63 characters long.
- It may contain lowercase Latin letters, numbers, hyphens, and underscores.
- Use a letter for the first character.
- Label value parameters:
- It may be up to 63 characters long.
- It may contain lowercase Latin letters, numbers, hyphens, and underscores.
- Labels prefixed with
aws:
in the key are reserved for Object Storage. These labels are not counted in the total number of bucket labels. You cannot delete or modify them.
Object labels
Object label operation limits:
- Maximum number of labels per object: 10.
- Label key parameters:
- Up to 128 characters long.
- May contain Latin letters, numbers, spaces, and these characters:
+
,-
,=
,.
,_
,:
,/
, and@
.
- Label value parameters:
- Up to 256 characters long.
- May contain Latin letters, numbers, spaces, and these characters:
+
,-
,=
,.
,_
,:
,/
, and@
.
- Labels prefixed with
aws:
in the key are reserved for Object Storage. These labels are not counted in the total number of object labels. You cannot delete or modify them.