Interface BrokerLogging

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BrokerLogging.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-10-31T19:13:08.082Z") @Stability(Experimental) public interface BrokerLogging extends software.amazon.jsii.JsiiSerializable
(experimental) Configuration details related to broker logs.

Example:

 Vpc vpc;
 IBucket bucket;
 Cluster cluster = Cluster.Builder.create(this, "cluster")
         .clusterName("myCluster")
         .kafkaVersion(KafkaVersion.V2_8_1)
         .vpc(vpc)
         .logging(BrokerLogging.builder()
                 .s3(S3LoggingConfiguration.builder()
                         .bucket(bucket)
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getCloudwatchLogGroup

      @Stability(Experimental) @Nullable default ILogGroup getCloudwatchLogGroup()
      (experimental) The CloudWatch Logs group that is the destination for broker logs.

      Default: - disabled

    • getFirehoseDeliveryStreamName

      @Stability(Experimental) @Nullable default String getFirehoseDeliveryStreamName()
      (experimental) The Kinesis Data Firehose delivery stream that is the destination for broker logs.

      Default: - disabled

    • getS3

      @Stability(Experimental) @Nullable default S3LoggingConfiguration getS3()
      (experimental) Details of the Amazon S3 destination for broker logs.

      Default: - disabled

    • builder

      @Stability(Experimental) static BrokerLogging.Builder builder()
      Returns:
      a BrokerLogging.Builder of BrokerLogging