Interface CfnApplication.MonitoringConfigurationProperty

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

@Stability(Stable) public static interface CfnApplication.MonitoringConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Describes configuration parameters for Amazon CloudWatch logging for a Java-based Kinesis Data Analytics application.

For more information about CloudWatch logging, see Monitoring .

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.kinesisanalyticsv2.*;
 MonitoringConfigurationProperty monitoringConfigurationProperty = MonitoringConfigurationProperty.builder()
         .configurationType("configurationType")
         // the properties below are optional
         .logLevel("logLevel")
         .metricsLevel("metricsLevel")
         .build();
 
  • Method Details

    • getConfigurationType

      @Stability(Stable) @NotNull String getConfigurationType()
      Describes whether to use the default CloudWatch logging configuration for an application.

      You must set this property to CUSTOM in order to set the LogLevel or MetricsLevel parameters.

    • getLogLevel

      @Stability(Stable) @Nullable default String getLogLevel()
      Describes the verbosity of the CloudWatch Logs for an application.
    • getMetricsLevel

      @Stability(Stable) @Nullable default String getMetricsLevel()
      Describes the granularity of the CloudWatch Logs for an application.

      The Parallelism level is not recommended for applications with a Parallelism over 64 due to excessive costs.

    • builder

      @Stability(Stable) static CfnApplication.MonitoringConfigurationProperty.Builder builder()
      Returns:
      a CfnApplication.MonitoringConfigurationProperty.Builder of CfnApplication.MonitoringConfigurationProperty