AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Kafka::Types::UpdateMonitoringRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateMonitoringRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  cluster_arn: "__string", # required
  current_version: "__string", # required
  enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER
  open_monitoring: {
    prometheus: { # required
      jmx_exporter: {
        enabled_in_broker: false, # required
      },
      node_exporter: {
        enabled_in_broker: false, # required
      },
    },
  },
  logging_info: {
    broker_logs: { # required
      cloud_watch_logs: {
        enabled: false, # required
        log_group: "__string",
      },
      firehose: {
        delivery_stream: "__string",
        enabled: false, # required
      },
      s3: {
        bucket: "__string",
        enabled: false, # required
        prefix: "__string",
      },
    },
  },
}

Request body for UpdateMonitoring.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_arnString

Returns:

  • (String)

#current_versionString

The version of cluster to update from. A successful operation will then generate a new version.

Returns:

  • (String)

    The version of cluster to update from.

#enhanced_monitoringString

Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

Possible values:

  • DEFAULT
  • PER_BROKER
  • PER_TOPIC_PER_BROKER

Returns:

  • (String)

    Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

#logging_infoTypes::LoggingInfo

LoggingInfo details.

Returns:

#open_monitoringTypes::OpenMonitoringInfo

The settings for open monitoring.

Returns: