Interface CfnCluster.MonitoringConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.MonitoringConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.MonitoringConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains CloudWatch log configuration metadata and settings.
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.emr.*;
MonitoringConfigurationProperty monitoringConfigurationProperty = MonitoringConfigurationProperty.builder()
.cloudWatchLogConfiguration(CloudWatchLogConfigurationProperty.builder()
.enabled(false)
// the properties below are optional
.encryptionKeyArn("encryptionKeyArn")
.logGroupName("logGroupName")
.logStreamNamePrefix("logStreamNamePrefix")
.logTypes(Map.of(
"logTypesKey", List.of("logTypes")))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.MonitoringConfigurationPropertystatic final classAn implementation forCfnCluster.MonitoringConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLogConfiguration
Holds CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.Returns union: either
IResolvableorCfnCluster.CloudWatchLogConfigurationProperty- See Also:
-
builder
-