Class: AWSCDK::MSK::CfnCluster::OpenMonitoringProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::OpenMonitoringProperty
- Defined in:
- msk/cfn_cluster.rb
Overview
JMX and Node monitoring for the MSK cluster.
Instance Attribute Summary collapse
-
#prometheus ⇒ AWSCDK::IResolvable, AWSCDK::MSK::CfnCluster::PrometheusProperty
readonly
Prometheus exporter settings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(prometheus:) ⇒ OpenMonitoringProperty
constructor
A new instance of OpenMonitoringProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(prometheus:) ⇒ OpenMonitoringProperty
Returns a new instance of OpenMonitoringProperty.
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
#prometheus ⇒ AWSCDK::IResolvable, AWSCDK::MSK::CfnCluster::PrometheusProperty (readonly)
Prometheus exporter settings.
1425 1426 1427 |
# File 'msk/cfn_cluster.rb', line 1425 def prometheus @prometheus end |
Class Method Details
.jsii_properties ⇒ Object
1427 1428 1429 1430 1431 |
# File 'msk/cfn_cluster.rb', line 1427 def self.jsii_properties { :prometheus => "prometheus", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |