Struct aws_sdk_appstream::types::EntitlementAttribute
source · #[non_exhaustive]pub struct EntitlementAttribute {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
An attribute associated with an entitlement. Application entitlements work by matching a supported SAML 2.0 attribute name to a value when a user identity federates to an Amazon AppStream 2.0 SAML application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
A supported AWS IAM SAML PrincipalTag
attribute that is matched to the associated value when a user identity federates into an Amazon AppStream 2.0 SAML application.
The following are valid values:
-
roles
-
department
-
organization
-
groups
-
title
-
costCenter
-
userType
value: Option<String>
A value that is matched to a supported SAML attribute name when a user identity federates into an Amazon AppStream 2.0 SAML application.
Implementations§
source§impl EntitlementAttribute
impl EntitlementAttribute
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A supported AWS IAM SAML PrincipalTag
attribute that is matched to the associated value when a user identity federates into an Amazon AppStream 2.0 SAML application.
The following are valid values:
-
roles
-
department
-
organization
-
groups
-
title
-
costCenter
-
userType
source§impl EntitlementAttribute
impl EntitlementAttribute
sourcepub fn builder() -> EntitlementAttributeBuilder
pub fn builder() -> EntitlementAttributeBuilder
Creates a new builder-style object to manufacture EntitlementAttribute
.
Trait Implementations§
source§impl Clone for EntitlementAttribute
impl Clone for EntitlementAttribute
source§fn clone(&self) -> EntitlementAttribute
fn clone(&self) -> EntitlementAttribute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EntitlementAttribute
impl Debug for EntitlementAttribute
source§impl PartialEq for EntitlementAttribute
impl PartialEq for EntitlementAttribute
source§fn eq(&self, other: &EntitlementAttribute) -> bool
fn eq(&self, other: &EntitlementAttribute) -> bool
self
and other
values to be equal, and is used
by ==
.