Struct aws_sdk_securityhub::types::AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails {
pub log_driver: Option<String>,
pub options: Option<HashMap<String, String>>,
pub secret_options: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails>>,
}
Expand description
The log configuration specification for the container.
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.log_driver: Option<String>
The log driver to use for the container.
Valid values on Fargate are as follows:
-
awsfirelens
-
awslogs
-
splunk
Valid values on Amazon EC2 are as follows:
-
awsfirelens
-
awslogs
-
fluentd
-
gelf
-
journald
-
json-file
-
logentries
-
splunk
-
syslog
options: Option<HashMap<String, String>>
The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.
secret_options: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails>>
The secrets to pass to the log configuration.
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
sourcepub fn log_driver(&self) -> Option<&str>
pub fn log_driver(&self) -> Option<&str>
The log driver to use for the container.
Valid values on Fargate are as follows:
-
awsfirelens
-
awslogs
-
splunk
Valid values on Amazon EC2 are as follows:
-
awsfirelens
-
awslogs
-
fluentd
-
gelf
-
journald
-
json-file
-
logentries
-
splunk
-
syslog
sourcepub fn options(&self) -> Option<&HashMap<String, String>>
pub fn options(&self) -> Option<&HashMap<String, String>>
The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.
sourcepub fn secret_options(
&self
) -> &[AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails]
pub fn secret_options( &self ) -> &[AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails]
The secrets to pass to the log configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .secret_options.is_none()
.
source§impl AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
sourcepub fn builder(
) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
pub fn builder( ) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
fn clone( &self ) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl Send for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
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