Interface CfnWorkGroup.MonitoringConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWorkGroup.MonitoringConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnWorkGroup

@Stability(Stable) public static interface CfnWorkGroup.MonitoringConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.athena.*;
 MonitoringConfigurationProperty monitoringConfigurationProperty = MonitoringConfigurationProperty.builder()
         .cloudWatchLoggingConfiguration(CloudWatchLoggingConfigurationProperty.builder()
                 .enabled(false)
                 .logGroup("logGroup")
                 .logStreamNamePrefix("logStreamNamePrefix")
                 .logTypes(Map.of(
                         "logTypesKey", List.of("logTypes")))
                 .build())
         .managedLoggingConfiguration(ManagedLoggingConfigurationProperty.builder()
                 .enabled(false)
                 .kmsKey("kmsKey")
                 .build())
         .s3LoggingConfiguration(S3LoggingConfigurationProperty.builder()
                 .enabled(false)
                 .kmsKey("kmsKey")
                 .logLocation("logLocation")
                 .build())
         .build();
 

See Also: