pub struct ApigatewayAuditLogConfig {
pub exempted_members: Option<Vec<String>>,
pub log_type: Option<String>,
}Expand description
Provides the configuration for logging a type of permissions. Example: { “audit_log_configs”: [ { “log_type”: “DATA_READ”, “exempted_members”: [ “user:jose@example.com” ] }, { “log_type”: “DATA_WRITE” } ] } This enables ‘DATA_READ’ and ‘DATA_WRITE’ logging, while exempting jose@example.com from DATA_READ logging.
This type is not used in any activity, and only used as part of another schema.
Fields§
§exempted_members: Option<Vec<String>>Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
log_type: Option<String>The log type that this config enables.
Trait Implementations§
Source§impl Clone for ApigatewayAuditLogConfig
impl Clone for ApigatewayAuditLogConfig
Source§fn clone(&self) -> ApigatewayAuditLogConfig
fn clone(&self) -> ApigatewayAuditLogConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApigatewayAuditLogConfig
impl Debug for ApigatewayAuditLogConfig
Source§impl Default for ApigatewayAuditLogConfig
impl Default for ApigatewayAuditLogConfig
Source§fn default() -> ApigatewayAuditLogConfig
fn default() -> ApigatewayAuditLogConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApigatewayAuditLogConfig
impl<'de> Deserialize<'de> for ApigatewayAuditLogConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ApigatewayAuditLogConfig
impl Serialize for ApigatewayAuditLogConfig
impl Part for ApigatewayAuditLogConfig
Auto Trait Implementations§
impl Freeze for ApigatewayAuditLogConfig
impl RefUnwindSafe for ApigatewayAuditLogConfig
impl Send for ApigatewayAuditLogConfig
impl Sync for ApigatewayAuditLogConfig
impl Unpin for ApigatewayAuditLogConfig
impl UnwindSafe for ApigatewayAuditLogConfig
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