Class: AWSCDK::MSK::CfnCluster::LoggingInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::LoggingInfoProperty
- Defined in:
- msk/cfn_cluster.rb
Overview
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.
Instance Attribute Summary collapse
-
#broker_logs ⇒ AWSCDK::IResolvable, AWSCDK::MSK::CfnCluster::BrokerLogsProperty
readonly
You can configure your MSK cluster to send broker logs to different destination types.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(broker_logs:) ⇒ LoggingInfoProperty
constructor
A new instance of LoggingInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(broker_logs:) ⇒ LoggingInfoProperty
Returns a new instance of LoggingInfoProperty.
1348 1349 1350 1351 |
# File 'msk/cfn_cluster.rb', line 1348 def initialize(broker_logs:) @broker_logs = broker_logs.is_a?(Hash) ? ::AWSCDK::MSK::CfnCluster::BrokerLogsProperty.new(**broker_logs.transform_keys(&:to_sym)) : broker_logs Jsii::Type.check_type(@broker_logs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tc2suQ2ZuQ2x1c3Rlci5Ccm9rZXJMb2dzUHJvcGVydHkifV19fQ==")), "brokerLogs") end |
Instance Attribute Details
#broker_logs ⇒ AWSCDK::IResolvable, AWSCDK::MSK::CfnCluster::BrokerLogsProperty (readonly)
You can configure your MSK cluster to send broker logs to different destination types.
This configuration specifies the details of these destinations.
1359 1360 1361 |
# File 'msk/cfn_cluster.rb', line 1359 def broker_logs @broker_logs end |
Class Method Details
.jsii_properties ⇒ Object
1361 1362 1363 1364 1365 |
# File 'msk/cfn_cluster.rb', line 1361 def self.jsii_properties { :broker_logs => "brokerLogs", } end |
Instance Method Details
#to_jsii ⇒ Object
1367 1368 1369 1370 1371 1372 1373 |
# File 'msk/cfn_cluster.rb', line 1367 def to_jsii result = {} result.merge!({ "brokerLogs" => @broker_logs, }) result.compact end |