Class: AWSCDK::MSK::CfnReplicator::ReplicationStartingPositionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnReplicator::ReplicationStartingPositionProperty
- Defined in:
- msk/cfn_replicator.rb
Overview
Specifies the position in the topics to start replicating from.
Instance Attribute Summary collapse
-
#type ⇒ String?
readonly
The type of replication starting position.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil) ⇒ ReplicationStartingPositionProperty
constructor
A new instance of ReplicationStartingPositionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil) ⇒ ReplicationStartingPositionProperty
Returns a new instance of ReplicationStartingPositionProperty.
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
#type ⇒ String? (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_properties ⇒ Object
1256 1257 1258 1259 1260 |
# File 'msk/cfn_replicator.rb', line 1256 def self.jsii_properties { :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |