Struct aws_sdk_ecs::types::FirelensConfiguration  
source · #[non_exhaustive]pub struct FirelensConfiguration {
    pub type: FirelensConfigurationType,
    pub options: Option<HashMap<String, String>>,
}Expand description
The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see Custom log routing in the Amazon Elastic Container Service Developer Guide.
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.type: FirelensConfigurationTypeThe log router to use. The valid values are fluentd or fluentbit.
options: Option<HashMap<String, String>>The options to use when configuring the log router. This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is "options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}. For more information, see Creating a task definition that uses a FireLens configuration in the Amazon Elastic Container Service Developer Guide.
Tasks hosted on Fargate only support the file configuration file type.
Implementations§
source§impl FirelensConfiguration
 
impl FirelensConfiguration
sourcepub fn type(&self) -> &FirelensConfigurationType
 
pub fn type(&self) -> &FirelensConfigurationType
The log router to use. The valid values are fluentd or fluentbit.
sourcepub fn options(&self) -> Option<&HashMap<String, String>>
 
pub fn options(&self) -> Option<&HashMap<String, String>>
The options to use when configuring the log router. This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is "options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}. For more information, see Creating a task definition that uses a FireLens configuration in the Amazon Elastic Container Service Developer Guide.
Tasks hosted on Fargate only support the file configuration file type.
source§impl FirelensConfiguration
 
impl FirelensConfiguration
sourcepub fn builder() -> FirelensConfigurationBuilder
 
pub fn builder() -> FirelensConfigurationBuilder
Creates a new builder-style object to manufacture FirelensConfiguration.
Trait Implementations§
source§impl Clone for FirelensConfiguration
 
impl Clone for FirelensConfiguration
source§fn clone(&self) -> FirelensConfiguration
 
fn clone(&self) -> FirelensConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FirelensConfiguration
 
impl Debug for FirelensConfiguration
source§impl PartialEq for FirelensConfiguration
 
impl PartialEq for FirelensConfiguration
source§fn eq(&self, other: &FirelensConfiguration) -> bool
 
fn eq(&self, other: &FirelensConfiguration) -> bool
self and other values to be equal, and is used
by ==.