Struct aws_sdk_sts::model::Tag
source · #[non_exhaustive]pub struct Tag { /* private fields */ }
Expand description
You can pass custom key-value pair attributes when you assume a role or federate a user. These are called session tags. You can then use the session tags to control access to resources. For more information, see Tagging Amazon Web Services STS Sessions in the IAM User Guide.
Implementations§
source§impl Tag
impl Tag
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The key for a session tag.
You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
The value for a session tag.
You can pass up to 50 session tags. The plain text session tag values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.