Class: AWSCDK::MSK::CfnCluster::OpenMonitoringProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
msk/cfn_cluster.rb

Overview

JMX and Node monitoring for the MSK cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(prometheus:) ⇒ OpenMonitoringProperty

Returns a new instance of OpenMonitoringProperty.

Parameters:



1416
1417
1418
1419
# File 'msk/cfn_cluster.rb', line 1416

def initialize(prometheus:)
  @prometheus = prometheus.is_a?(Hash) ? ::AWSCDK::MSK::CfnCluster::PrometheusProperty.new(**prometheus.transform_keys(&:to_sym)) : prometheus
  Jsii::Type.check_type(@prometheus, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tc2suQ2ZuQ2x1c3Rlci5Qcm9tZXRoZXVzUHJvcGVydHkifV19fQ==")), "prometheus")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



1427
1428
1429
1430
1431
# File 'msk/cfn_cluster.rb', line 1427

def self.jsii_properties
  {
    :prometheus => "prometheus",
  }
end

Instance Method Details

#to_jsiiObject



1433
1434
1435
1436
1437
1438
1439
# File 'msk/cfn_cluster.rb', line 1433

def to_jsii
  result = {}
  result.merge!({
    "prometheus" => @prometheus,
  })
  result.compact
end