Class: AWSCDK::MSK::CfnReplicator::ReplicationTopicNameConfigurationProperty

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

Overview

Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil) ⇒ ReplicationTopicNameConfigurationProperty

Returns a new instance of ReplicationTopicNameConfigurationProperty.

Parameters:

  • type (String, nil) (defaults to: nil)

    The type of replication topic name configuration, identical to upstream topic name or prefixed with source cluster alias.



1278
1279
1280
1281
# File 'msk/cfn_replicator.rb', line 1278

def initialize(type: nil)
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil?
end

Instance Attribute Details

#typeString? (readonly)

The type of replication topic name configuration, identical to upstream topic name or prefixed with source cluster alias.



1287
1288
1289
# File 'msk/cfn_replicator.rb', line 1287

def type
  @type
end

Class Method Details

.jsii_propertiesObject



1289
1290
1291
1292
1293
# File 'msk/cfn_replicator.rb', line 1289

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

Instance Method Details

#to_jsiiObject



1295
1296
1297
1298
1299
1300
1301
# File 'msk/cfn_replicator.rb', line 1295

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