Struct aws_sdk_docdb::model::Tag
source · #[non_exhaustive]pub struct Tag { /* private fields */ }Expand description
Metadata assigned to an Amazon DocumentDB resource consisting of a key-value pair.
Implementations§
source§impl Tag
impl Tag
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").