pub struct LoggingKinesisAdditional {
pub name: Option<String>,
pub placement: Option<LoggingPlacement>,
pub format: Option<String>,
pub topic: Option<String>,
pub region: Option<AwsRegion>,
pub secret_key: Option<String>,
pub access_key: Option<String>,
pub iam_role: Option<String>,
}
Fields§
§name: Option<String>
The name for the real-time logging configuration.
placement: Option<LoggingPlacement>
§format: Option<String>
A Fastly log format string.
topic: Option<String>
The Amazon Kinesis stream to send logs to. Required.
region: Option<AwsRegion>
§secret_key: Option<String>
The secret key associated with the target Amazon Kinesis stream. Not required if iam_role
is specified.
access_key: Option<String>
The access key associated with the target Amazon Kinesis stream. Not required if iam_role
is specified.
iam_role: Option<String>
The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if access_key
and secret_key
are provided.
Implementations§
Source§impl LoggingKinesisAdditional
impl LoggingKinesisAdditional
pub fn new() -> LoggingKinesisAdditional
Trait Implementations§
Source§impl Clone for LoggingKinesisAdditional
impl Clone for LoggingKinesisAdditional
Source§fn clone(&self) -> LoggingKinesisAdditional
fn clone(&self) -> LoggingKinesisAdditional
Returns a copy 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 LoggingKinesisAdditional
impl Debug for LoggingKinesisAdditional
Source§impl Default for LoggingKinesisAdditional
impl Default for LoggingKinesisAdditional
Source§fn default() -> LoggingKinesisAdditional
fn default() -> LoggingKinesisAdditional
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingKinesisAdditional
impl<'de> Deserialize<'de> for LoggingKinesisAdditional
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 PartialEq for LoggingKinesisAdditional
impl PartialEq for LoggingKinesisAdditional
Source§impl Serialize for LoggingKinesisAdditional
impl Serialize for LoggingKinesisAdditional
impl StructuralPartialEq for LoggingKinesisAdditional
Auto Trait Implementations§
impl Freeze for LoggingKinesisAdditional
impl RefUnwindSafe for LoggingKinesisAdditional
impl Send for LoggingKinesisAdditional
impl Sync for LoggingKinesisAdditional
impl Unpin for LoggingKinesisAdditional
impl UnwindSafe for LoggingKinesisAdditional
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