Class: AWSCDK::MSK::CfnReplicator::ApacheKafkaClusterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnReplicator::ApacheKafkaClusterProperty
- Defined in:
- msk/cfn_replicator.rb
Overview
Details of an Apache Kafka cluster.
Instance Attribute Summary collapse
-
#apache_kafka_cluster_id ⇒ String
readonly
The ID of the Apache Kafka cluster.
-
#bootstrap_broker_string ⇒ String
readonly
The bootstrap broker string of the Apache Kafka cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(apache_kafka_cluster_id:, bootstrap_broker_string:) ⇒ ApacheKafkaClusterProperty
constructor
A new instance of ApacheKafkaClusterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(apache_kafka_cluster_id:, bootstrap_broker_string:) ⇒ ApacheKafkaClusterProperty
Returns a new instance of ApacheKafkaClusterProperty.
638 639 640 641 642 643 |
# File 'msk/cfn_replicator.rb', line 638 def initialize(apache_kafka_cluster_id:, bootstrap_broker_string:) @apache_kafka_cluster_id = apache_kafka_cluster_id Jsii::Type.check_type(@apache_kafka_cluster_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "apacheKafkaClusterId") @bootstrap_broker_string = bootstrap_broker_string Jsii::Type.check_type(@bootstrap_broker_string, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bootstrapBrokerString") end |
Instance Attribute Details
#apache_kafka_cluster_id ⇒ String (readonly)
The ID of the Apache Kafka cluster.
649 650 651 |
# File 'msk/cfn_replicator.rb', line 649 def apache_kafka_cluster_id @apache_kafka_cluster_id end |
#bootstrap_broker_string ⇒ String (readonly)
The bootstrap broker string of the Apache Kafka cluster.
654 655 656 |
# File 'msk/cfn_replicator.rb', line 654 def bootstrap_broker_string @bootstrap_broker_string end |
Class Method Details
.jsii_properties ⇒ Object
656 657 658 659 660 661 |
# File 'msk/cfn_replicator.rb', line 656 def self.jsii_properties { :apache_kafka_cluster_id => "apacheKafkaClusterId", :bootstrap_broker_string => "bootstrapBrokerString", } end |
Instance Method Details
#to_jsii ⇒ Object
663 664 665 666 667 668 669 670 |
# File 'msk/cfn_replicator.rb', line 663 def to_jsii result = {} result.merge!({ "apacheKafkaClusterId" => @apache_kafka_cluster_id, "bootstrapBrokerString" => @bootstrap_broker_string, }) result.compact end |