aws-cdk-lib.aws_msk.CfnCluster.LoggingInfoProperty

interface LoggingInfoProperty

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

You can configure your MSK cluster to send broker logs to different destination types.

This is a container for the configuration details related to 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 loggingInfoProperty: msk.CfnCluster.LoggingInfoProperty = {
  brokerLogs: {
    cloudWatchLogs: {
      enabled: false,

      // the properties below are optional
      logGroup: 'logGroup',
    },
    firehose: {
      enabled: false,

      // the properties below are optional
      deliveryStream: 'deliveryStream',
    },
    s3: {
      enabled: false,

      // the properties below are optional
      bucket: 'bucket',
      prefix: 'prefix',
    },
  },
};

Properties

NameTypeDescription
brokerLogsIResolvable | BrokerLogsPropertyYou can configure your MSK cluster to send broker logs to different destination types.

brokerLogs

Type: IResolvable | BrokerLogsProperty

You can configure your MSK cluster to send broker logs to different destination types.

This configuration specifies the details of these destinations.