pub enum IamMode {
Off,
Soft,
Strict,
}Expand description
How IAM identity policies are evaluated for incoming requests.
Default is IamMode::Off — existing behavior, policies are stored but
never consulted. IamMode::Soft evaluates and logs denied decisions via
the fakecloud::iam::audit tracing target without failing the request, and
IamMode::Strict returns an AccessDeniedException in the protocol-
correct shape.
Variants§
Off
Do not evaluate IAM policies.
Soft
Evaluate policies and log audit events for denied requests, but allow the request to proceed.
Strict
Evaluate policies and reject denied requests with AccessDeniedException.
Implementations§
Trait Implementations§
impl Copy for IamMode
impl Eq for IamMode
impl StructuralPartialEq for IamMode
Auto Trait Implementations§
impl Freeze for IamMode
impl RefUnwindSafe for IamMode
impl Send for IamMode
impl Sync for IamMode
impl Unpin for IamMode
impl UnsafeUnpin for IamMode
impl UnwindSafe for IamMode
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
Mutably borrows from an owned value. Read more