Class: AWSCDK::MSK::CfnReplicator::ReplicationStartingPositionProperty

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

Overview

Specifies the position in the topics to start replicating from.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil) ⇒ ReplicationStartingPositionProperty

Returns a new instance of ReplicationStartingPositionProperty.

Parameters:

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

    The type of replication starting position.



1245
1246
1247
1248
# File 'msk/cfn_replicator.rb', line 1245

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 starting position.



1254
1255
1256
# File 'msk/cfn_replicator.rb', line 1254

def type
  @type
end

Class Method Details

.jsii_propertiesObject



1256
1257
1258
1259
1260
# File 'msk/cfn_replicator.rb', line 1256

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

Instance Method Details

#to_jsiiObject



1262
1263
1264
1265
1266
1267
1268
# File 'msk/cfn_replicator.rb', line 1262

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