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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkGroup.MonitoringConfigurationPropertystatic final classAn implementation forCfnWorkGroup.MonitoringConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLoggingConfiguration
Configuration settings for delivering logs to Amazon CloudWatch log groups.Returns union: either
IResolvableorCfnWorkGroup.CloudWatchLoggingConfigurationProperty- See Also:
-
getManagedLoggingConfiguration
Configuration settings for managed log persistence.Returns union: either
IResolvableorCfnWorkGroup.ManagedLoggingConfigurationProperty- See Also:
-
getS3LoggingConfiguration
Configuration settings for delivering logs to Amazon S3 buckets.Returns union: either
IResolvableorCfnWorkGroup.S3LoggingConfigurationProperty- See Also:
-
builder
-