pub struct LoggingEnabled {
pub target_bucket: String,
pub target_grants: Option<Vec<TargetGrant>>,
pub target_prefix: String,
}
Expand description
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
Fields§
§target_bucket: String
Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case, you should choose a different TargetPrefix
for each source bucket so that the delivered log files can be distinguished by key.
target_grants: Option<Vec<TargetGrant>>
Container for granting information.
target_prefix: String
A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket.
Trait Implementations§
Source§impl Clone for LoggingEnabled
impl Clone for LoggingEnabled
Source§fn clone(&self) -> LoggingEnabled
fn clone(&self) -> LoggingEnabled
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more