Struct aws_sdk_eks::model::LogSetup
source · [−]#[non_exhaustive]pub struct LogSetup {
pub types: Option<Vec<LogType>>,
pub enabled: Option<bool>,
}
Expand description
An object representing the enabled or disabled Kubernetes control plane logs for your cluster.
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.types: Option<Vec<LogType>>
The available cluster control plane log types.
enabled: Option<bool>
If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LogSetup
impl UnwindSafe for LogSetup
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more