Labels
A label is a key-value pair used for logical bucket and object labeling.
Note
Yandex Cloud uses labels to logically identify resources. However, Object Storage supports compatibility with Amazon S3 API
Bucket labels
Buckets support Yandex Resource Manager labels.
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 corporate department.
You can view expenses for the labeled resources in a CSV file with usage details and on the Yandex DataLens dashboard.
Label operation limits:
-
Maximum number of labels per resource: 64.
-
Label key parameters:
- Must be from 1 to 63 characters long.
- May contain lowercase Latin letters, numbers, hyphens, and underscores.
- Use a letter for the first character.
-
Label value parameters:
- May be up to 63 characters long.
- 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 are as follows:
- 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.