Struct aws_sdk_ssoadmin::types::AccessControlAttribute
source · #[non_exhaustive]pub struct AccessControlAttribute {
pub key: String,
pub value: Option<AccessControlAttributeValue>,
}
Expand description
These are IAM Identity Center identity store attributes that you can configure for use in attributes-based access control (ABAC). You can create permissions policies that determine who can access your Amazon Web Services resources based upon the configured attribute values. When you enable ABAC and specify AccessControlAttributes
, IAM Identity Center passes the attribute values of the authenticated user into IAM for use in policy evaluation.
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.key: String
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in IAM Identity Center.
value: Option<AccessControlAttributeValue>
The value used for mapping a specified attribute to an identity source.
Implementations§
source§impl AccessControlAttribute
impl AccessControlAttribute
sourcepub fn key(&self) -> &str
pub fn key(&self) -> &str
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in IAM Identity Center.
sourcepub fn value(&self) -> Option<&AccessControlAttributeValue>
pub fn value(&self) -> Option<&AccessControlAttributeValue>
The value used for mapping a specified attribute to an identity source.
source§impl AccessControlAttribute
impl AccessControlAttribute
sourcepub fn builder() -> AccessControlAttributeBuilder
pub fn builder() -> AccessControlAttributeBuilder
Creates a new builder-style object to manufacture AccessControlAttribute
.
Trait Implementations§
source§impl Clone for AccessControlAttribute
impl Clone for AccessControlAttribute
source§fn clone(&self) -> AccessControlAttribute
fn clone(&self) -> AccessControlAttribute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccessControlAttribute
impl Debug for AccessControlAttribute
source§impl PartialEq for AccessControlAttribute
impl PartialEq for AccessControlAttribute
source§fn eq(&self, other: &AccessControlAttribute) -> bool
fn eq(&self, other: &AccessControlAttribute) -> bool
self
and other
values to be equal, and is used
by ==
.