Interface CfnWorkGroup.CloudWatchLoggingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkGroup.CloudWatchLoggingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnWorkGroup
@Stability(Stable)
public static interface CfnWorkGroup.CloudWatchLoggingConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration settings for delivering logs to Amazon CloudWatch log groups.
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.*;
CloudWatchLoggingConfigurationProperty cloudWatchLoggingConfigurationProperty = CloudWatchLoggingConfigurationProperty.builder()
.enabled(false)
.logGroup("logGroup")
.logStreamNamePrefix("logStreamNamePrefix")
.logTypes(Map.of(
"logTypesKey", List.of("logTypes")))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkGroup.CloudWatchLoggingConfigurationPropertystatic final classAn implementation forCfnWorkGroup.CloudWatchLoggingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectEnables CloudWatch logging.default StringThe name of the log group in Amazon CloudWatch Logs where you want to publish your logs.default StringPrefix for the CloudWatch log stream name.default ObjectThe types of logs that you want to publish to CloudWatch.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Enables CloudWatch logging.Returns union: either
BooleanorIResolvable- See Also:
-
getLogGroup
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.- See Also:
-
getLogStreamNamePrefix
Prefix for the CloudWatch log stream name.- See Also:
-
getLogTypes
The types of logs that you want to publish to CloudWatch.Returns union: either
IResolvableor Mapinvalid input: '<'String, Listinvalid input: '<'String>>- See Also:
-
builder
-