Struct aws_sdk_ssoadmin::model::AccessControlAttribute
source · [−]#[non_exhaustive]pub struct AccessControlAttribute {
pub key: Option<String>,
pub value: Option<AccessControlAttributeValue>,
}
Expand description
These are Amazon Web Services SSO 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
, Amazon Web Services SSO 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: Option<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 Amazon Web Services SSO.
value: Option<AccessControlAttributeValue>
The value used for mapping a specified attribute to an identity source.
Implementations
sourceimpl AccessControlAttribute
impl AccessControlAttribute
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&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 Amazon Web Services SSO.
sourcepub fn value(&self) -> Option<&AccessControlAttributeValue>
pub fn value(&self) -> Option<&AccessControlAttributeValue>
The value used for mapping a specified attribute to an identity source.
sourceimpl AccessControlAttribute
impl AccessControlAttribute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccessControlAttribute
Trait Implementations
sourceimpl Clone for AccessControlAttribute
impl Clone for AccessControlAttribute
sourcefn clone(&self) -> AccessControlAttribute
fn clone(&self) -> AccessControlAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AccessControlAttribute
impl Debug for AccessControlAttribute
sourceimpl PartialEq<AccessControlAttribute> for AccessControlAttribute
impl PartialEq<AccessControlAttribute> for AccessControlAttribute
sourcefn eq(&self, other: &AccessControlAttribute) -> bool
fn eq(&self, other: &AccessControlAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AccessControlAttribute) -> bool
fn ne(&self, other: &AccessControlAttribute) -> bool
This method tests for !=
.
impl StructuralPartialEq for AccessControlAttribute
Auto Trait Implementations
impl RefUnwindSafe for AccessControlAttribute
impl Send for AccessControlAttribute
impl Sync for AccessControlAttribute
impl Unpin for AccessControlAttribute
impl UnwindSafe for AccessControlAttribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more