Class: AWSCDK::KafkaConnect::CfnConnector::LogDeliveryProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kafka_connect/cfn_connector.rb

Overview

Details about log delivery.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(worker_log_delivery:) ⇒ LogDeliveryProperty

Returns a new instance of LogDeliveryProperty.

Parameters:



1093
1094
1095
1096
# File 'kafka_connect/cfn_connector.rb', line 1093

def initialize(worker_log_delivery:)
  @worker_log_delivery = worker_log_delivery.is_a?(Hash) ? ::AWSCDK::KafkaConnect::CfnConnector::WorkerLogDeliveryProperty.new(**worker_log_delivery.transform_keys(&:to_sym)) : worker_log_delivery
  Jsii::Type.check_type(@worker_log_delivery, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19rYWZrYWNvbm5lY3QuQ2ZuQ29ubmVjdG9yLldvcmtlckxvZ0RlbGl2ZXJ5UHJvcGVydHkifV19fQ==")), "workerLogDelivery")
end

Instance Attribute Details

#worker_log_deliveryAWSCDK::IResolvable, AWSCDK::KafkaConnect::CfnConnector::WorkerLogDeliveryProperty (readonly)

The workers can send worker logs to different destination types.

This configuration specifies the details of these destinations.



1104
1105
1106
# File 'kafka_connect/cfn_connector.rb', line 1104

def worker_log_delivery
  @worker_log_delivery
end

Class Method Details

.jsii_propertiesObject



1106
1107
1108
1109
1110
# File 'kafka_connect/cfn_connector.rb', line 1106

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

Instance Method Details

#to_jsiiObject



1112
1113
1114
1115
1116
1117
1118
# File 'kafka_connect/cfn_connector.rb', line 1112

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