pub struct CreateLogKinesisParams {
pub service_id: String,
pub version_id: i32,
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>,
pub format_version: Option<i32>,
}
Expand description
struct for passing parameters to the method create_log_kinesis
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
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.
format_version: Option<i32>
The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log
if format_version
is set to 2
and in vcl_deliver
if format_version
is set to 1
.
Trait Implementations§
Source§impl Clone for CreateLogKinesisParams
impl Clone for CreateLogKinesisParams
Source§fn clone(&self) -> CreateLogKinesisParams
fn clone(&self) -> CreateLogKinesisParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more