Struct rusoto_ecs::FirelensConfiguration
source · [−]pub struct FirelensConfiguration {
pub options: Option<HashMap<String, String>>,
pub type_: 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
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 AWS Fargate only support the file
configuration file type.
type_: String
The log router to use. The valid values are fluentd
or fluentbit
.
Trait Implementations
sourceimpl Clone for FirelensConfiguration
impl Clone for FirelensConfiguration
sourcefn clone(&self) -> FirelensConfiguration
fn clone(&self) -> FirelensConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FirelensConfiguration
impl Debug for FirelensConfiguration
sourceimpl Default for FirelensConfiguration
impl Default for FirelensConfiguration
sourcefn default() -> FirelensConfiguration
fn default() -> FirelensConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FirelensConfiguration
impl<'de> Deserialize<'de> for FirelensConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FirelensConfiguration> for FirelensConfiguration
impl PartialEq<FirelensConfiguration> for FirelensConfiguration
sourcefn eq(&self, other: &FirelensConfiguration) -> bool
fn eq(&self, other: &FirelensConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FirelensConfiguration) -> bool
fn ne(&self, other: &FirelensConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for FirelensConfiguration
impl Serialize for FirelensConfiguration
impl StructuralPartialEq for FirelensConfiguration
Auto Trait Implementations
impl RefUnwindSafe for FirelensConfiguration
impl Send for FirelensConfiguration
impl Sync for FirelensConfiguration
impl Unpin for FirelensConfiguration
impl UnwindSafe for FirelensConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more