Class: AWSCDK::Interfaces::AWSMSK::ReplicatorReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSMSK::ReplicatorReference
- Defined in:
- interfaces/awsmsk/replicator_reference.rb
Overview
A reference to a Replicator resource.
Instance Attribute Summary collapse
-
#replicator_arn ⇒ String
readonly
The ReplicatorArn of the Replicator resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(replicator_arn:) ⇒ ReplicatorReference
constructor
A new instance of ReplicatorReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(replicator_arn:) ⇒ ReplicatorReference
Returns a new instance of ReplicatorReference.
8 9 10 11 |
# File 'interfaces/awsmsk/replicator_reference.rb', line 8 def initialize(replicator_arn:) @replicator_arn = replicator_arn Jsii::Type.check_type(@replicator_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "replicatorArn") end |
Instance Attribute Details
#replicator_arn ⇒ String (readonly)
The ReplicatorArn of the Replicator resource.
16 17 18 |
# File 'interfaces/awsmsk/replicator_reference.rb', line 16 def replicator_arn @replicator_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsmsk/replicator_reference.rb', line 18 def self.jsii_properties { :replicator_arn => "replicatorArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsmsk/replicator_reference.rb', line 24 def to_jsii result = {} result.merge!({ "replicatorArn" => @replicator_arn, }) result.compact end |