Struct aws_sdk_ssm::types::LoggingInfo
source · #[non_exhaustive]pub struct LoggingInfo {
pub s3_bucket_name: String,
pub s3_key_prefix: Option<String>,
pub s3_region: String,
}
Expand description
Information about an Amazon Simple Storage Service (Amazon S3) bucket to write managed node-level logs to.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
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.s3_bucket_name: String
The name of an S3 bucket where execution logs are stored.
s3_key_prefix: Option<String>
(Optional) The S3 bucket subfolder.
s3_region: String
The Amazon Web Services Region where the S3 bucket is located.
Implementations§
source§impl LoggingInfo
impl LoggingInfo
sourcepub fn s3_bucket_name(&self) -> &str
pub fn s3_bucket_name(&self) -> &str
The name of an S3 bucket where execution logs are stored.
sourcepub fn s3_key_prefix(&self) -> Option<&str>
pub fn s3_key_prefix(&self) -> Option<&str>
(Optional) The S3 bucket subfolder.
source§impl LoggingInfo
impl LoggingInfo
sourcepub fn builder() -> LoggingInfoBuilder
pub fn builder() -> LoggingInfoBuilder
Creates a new builder-style object to manufacture LoggingInfo
.
Trait Implementations§
source§impl Clone for LoggingInfo
impl Clone for LoggingInfo
source§fn clone(&self) -> LoggingInfo
fn clone(&self) -> LoggingInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoggingInfo
impl Debug for LoggingInfo
source§impl PartialEq for LoggingInfo
impl PartialEq for LoggingInfo
source§fn eq(&self, other: &LoggingInfo) -> bool
fn eq(&self, other: &LoggingInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingInfo
Auto Trait Implementations§
impl Freeze for LoggingInfo
impl RefUnwindSafe for LoggingInfo
impl Send for LoggingInfo
impl Sync for LoggingInfo
impl Unpin for LoggingInfo
impl UnwindSafe for LoggingInfo
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more