interface MonitoringConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KinesisAnalytics.CfnApplicationV2.MonitoringConfigurationProperty |
Java | software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.MonitoringConfigurationProperty |
Python | aws_cdk.aws_kinesisanalytics.CfnApplicationV2.MonitoringConfigurationProperty |
TypeScript | @aws-cdk/aws-kinesisanalytics » CfnApplicationV2 » MonitoringConfigurationProperty |
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 * as kinesisanalytics from '@aws-cdk/aws-kinesisanalytics';
const monitoringConfigurationProperty: kinesisanalytics.CfnApplicationV2.MonitoringConfigurationProperty = {
configurationType: 'configurationType',
// the properties below are optional
logLevel: 'logLevel',
metricsLevel: 'metricsLevel',
};
Properties
Name | Type | Description |
---|---|---|
configuration | string | Describes whether to use the default CloudWatch logging configuration for an application. |
log | string | Describes the verbosity of the CloudWatch Logs for an application. |
metrics | string | Describes the granularity of the CloudWatch Logs for an application. |
configurationType
Type:
string
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.
logLevel?
Type:
string
(optional)
Describes the verbosity of the CloudWatch Logs for an application.
metricsLevel?
Type:
string
(optional)
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.