Struct aws_sdk_pipes::types::S3LogDestinationParameters
source · #[non_exhaustive]pub struct S3LogDestinationParameters {
pub bucket_name: String,
pub bucket_owner: String,
pub output_format: Option<S3OutputFormat>,
pub prefix: Option<String>,
}Expand description
The Amazon S3 logging configuration settings for the pipe.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bucket_name: StringSpecifies the name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
bucket_owner: StringSpecifies the Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
output_format: Option<S3OutputFormat>How EventBridge should format the log records.
-
json: JSON -
plain: Plain text
prefix: Option<String>Specifies any prefix text with which to begin Amazon S3 log object names.
You can use prefixes to organize the data that you store in Amazon S3 buckets. A prefix is a string of characters at the beginning of the object key name. A prefix can be any length, subject to the maximum length of the object key name (1,024 bytes). For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
Implementations§
source§impl S3LogDestinationParameters
impl S3LogDestinationParameters
sourcepub fn bucket_name(&self) -> &str
pub fn bucket_name(&self) -> &str
Specifies the name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn bucket_owner(&self) -> &str
pub fn bucket_owner(&self) -> &str
Specifies the Amazon Web Services account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
sourcepub fn output_format(&self) -> Option<&S3OutputFormat>
pub fn output_format(&self) -> Option<&S3OutputFormat>
How EventBridge should format the log records.
-
json: JSON -
plain: Plain text
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
Specifies any prefix text with which to begin Amazon S3 log object names.
You can use prefixes to organize the data that you store in Amazon S3 buckets. A prefix is a string of characters at the beginning of the object key name. A prefix can be any length, subject to the maximum length of the object key name (1,024 bytes). For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.
source§impl S3LogDestinationParameters
impl S3LogDestinationParameters
sourcepub fn builder() -> S3LogDestinationParametersBuilder
pub fn builder() -> S3LogDestinationParametersBuilder
Creates a new builder-style object to manufacture S3LogDestinationParameters.
Trait Implementations§
source§impl Clone for S3LogDestinationParameters
impl Clone for S3LogDestinationParameters
source§fn clone(&self) -> S3LogDestinationParameters
fn clone(&self) -> S3LogDestinationParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3LogDestinationParameters
impl Debug for S3LogDestinationParameters
source§impl PartialEq for S3LogDestinationParameters
impl PartialEq for S3LogDestinationParameters
source§fn eq(&self, other: &S3LogDestinationParameters) -> bool
fn eq(&self, other: &S3LogDestinationParameters) -> bool
self and other values to be equal, and is used
by ==.