aws-cdk-lib.aws_msk.CfnCluster.CloudWatchLogsProperty

interface CloudWatchLogsProperty

LanguageType name
.NETAmazon.CDK.AWS.MSK.CfnCluster.CloudWatchLogsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnCluster_CloudWatchLogsProperty
Javasoftware.amazon.awscdk.services.msk.CfnCluster.CloudWatchLogsProperty
Pythonaws_cdk.aws_msk.CfnCluster.CloudWatchLogsProperty
TypeScript aws-cdk-lib » aws_msk » CfnCluster » CloudWatchLogsProperty

Details of the CloudWatch Logs destination for broker logs.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const cloudWatchLogsProperty: msk.CfnCluster.CloudWatchLogsProperty = {
  enabled: false,

  // the properties below are optional
  logGroup: 'logGroup',
};

Properties

NameTypeDescription
enabledboolean | IResolvableSpecifies whether broker logs get sent to the specified CloudWatch Logs destination.
logGroup?stringThe CloudWatch log group that is the destination for broker logs.

enabled

Type: boolean | IResolvable

Specifies whether broker logs get sent to the specified CloudWatch Logs destination.


logGroup?

Type: string (optional)

The CloudWatch log group that is the destination for broker logs.