Struct aws_sdk_securityhub::types::AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
source · #[non_exhaustive]pub struct AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails {
pub cloud_watch_encryption_enabled: bool,
pub cloud_watch_log_group_name: Option<String>,
pub s3_bucket_name: Option<String>,
pub s3_encryption_enabled: bool,
pub s3_key_prefix: Option<String>,
}
Expand description
The log configuration for the results of the run command actions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cloud_watch_encryption_enabled: bool
Whether to enable encryption on the CloudWatch logs.
cloud_watch_log_group_name: Option<String>
The name of the CloudWatch log group to send the logs to.
s3_bucket_name: Option<String>
The name of the S3 bucket to send logs to.
s3_encryption_enabled: bool
Whether to encrypt the logs that are sent to the S3 bucket.
s3_key_prefix: Option<String>
Identifies the folder in the S3 bucket to send the logs to.
Implementations§
source§impl AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
sourcepub fn cloud_watch_encryption_enabled(&self) -> bool
pub fn cloud_watch_encryption_enabled(&self) -> bool
Whether to enable encryption on the CloudWatch logs.
sourcepub fn cloud_watch_log_group_name(&self) -> Option<&str>
pub fn cloud_watch_log_group_name(&self) -> Option<&str>
The name of the CloudWatch log group to send the logs to.
sourcepub fn s3_bucket_name(&self) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
The name of the S3 bucket to send logs to.
sourcepub fn s3_encryption_enabled(&self) -> bool
pub fn s3_encryption_enabled(&self) -> bool
Whether to encrypt the logs that are sent to the S3 bucket.
sourcepub fn s3_key_prefix(&self) -> Option<&str>
pub fn s3_key_prefix(&self) -> Option<&str>
Identifies the folder in the S3 bucket to send the logs to.
source§impl AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
sourcepub fn builder(
) -> AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetailsBuilder
pub fn builder( ) -> AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
.
Trait Implementations§
source§impl Clone for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl Clone for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
source§fn clone(
&self
) -> AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
fn clone( &self ) -> AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
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 PartialEq for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl PartialEq for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
source§fn eq(
&self,
other: &AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
) -> bool
fn eq( &self, other: &AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl Send for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl Sync for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl Unpin for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
impl UnwindSafe for AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails
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