pub enum LogDestination {
Topic {
topic: String,
},
CloudWatch {
iam_role_arn: String,
log_group_name: String,
},
}Expand description
Where do you want your logs to go?
Variants§
Topic
Momento topic within the same cache as your function
CloudWatch
AWS CloudWatch Log Group for your function’s logs
Implementations§
Trait Implementations§
Source§impl From<LogDestination> for Destination
impl From<LogDestination> for Destination
Source§fn from(value: LogDestination) -> Self
fn from(value: LogDestination) -> Self
Converts to this type from the input type.
Source§impl From<LogDestination> for LogConfiguration
impl From<LogDestination> for LogConfiguration
Source§fn from(value: LogDestination) -> Self
fn from(value: LogDestination) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LogDestination
impl RefUnwindSafe for LogDestination
impl Send for LogDestination
impl Sync for LogDestination
impl Unpin for LogDestination
impl UnwindSafe for LogDestination
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