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 ==
.impl StructuralPartialEq for AccessControlAttribute
Auto Trait Implementations§
impl Freeze for AccessControlAttribute
impl RefUnwindSafe for AccessControlAttribute
impl Send for AccessControlAttribute
impl Sync for AccessControlAttribute
impl Unpin for AccessControlAttribute
impl UnwindSafe for AccessControlAttribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more