Class CfnApplicationV2.MonitoringConfigurationProperty
Describes configuration parameters for Amazon CloudWatch logging for a Java-based Kinesis Data Analytics application.
Inheritance
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MonitoringConfigurationProperty : Object, CfnApplicationV2.IMonitoringConfigurationProperty
Syntax (vb)
Public Class MonitoringConfigurationProperty
Inherits Object
Implements CfnApplicationV2.IMonitoringConfigurationProperty
Remarks
For more information about CloudWatch logging, see Monitoring .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisAnalytics;
var monitoringConfigurationProperty = new MonitoringConfigurationProperty {
ConfigurationType = "configurationType",
// the properties below are optional
LogLevel = "logLevel",
MetricsLevel = "metricsLevel"
};
Synopsis
Constructors
MonitoringConfigurationProperty() |
Properties
ConfigurationType | Describes whether to use the default CloudWatch logging configuration for an application. |
LogLevel | Describes the verbosity of the CloudWatch Logs for an application. |
MetricsLevel | Describes the granularity of the CloudWatch Logs for an application. |
Constructors
MonitoringConfigurationProperty()
public MonitoringConfigurationProperty()
Properties
ConfigurationType
Describes whether to use the default CloudWatch logging configuration for an application.
public string ConfigurationType { get; set; }
Property Value
System.String
Remarks
You must set this property to CUSTOM
in order to set the LogLevel
or MetricsLevel
parameters.
LogLevel
Describes the verbosity of the CloudWatch Logs for an application.
public string LogLevel { get; set; }
Property Value
System.String
Remarks
MetricsLevel
Describes the granularity of the CloudWatch Logs for an application.
public string MetricsLevel { get; set; }
Property Value
System.String
Remarks
The Parallelism
level is not recommended for applications with a Parallelism over 64 due to excessive costs.