Class: AWSCDK::Kinesis::StreamConsumerAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Kinesis::StreamConsumerAttributes
- Defined in:
- kinesis/stream_consumer_attributes.rb
Overview
A reference to a StreamConsumer, which can be imported using StreamConsumer.fromStreamConsumerAttributes.
Instance Attribute Summary collapse
-
#stream_consumer_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the stream consumer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(stream_consumer_arn:) ⇒ StreamConsumerAttributes
constructor
A new instance of StreamConsumerAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(stream_consumer_arn:) ⇒ StreamConsumerAttributes
Returns a new instance of StreamConsumerAttributes.
8 9 10 11 |
# File 'kinesis/stream_consumer_attributes.rb', line 8 def initialize(stream_consumer_arn:) @stream_consumer_arn = stream_consumer_arn Jsii::Type.check_type(@stream_consumer_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamConsumerArn") end |
Instance Attribute Details
#stream_consumer_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the stream consumer.
16 17 18 |
# File 'kinesis/stream_consumer_attributes.rb', line 16 def stream_consumer_arn @stream_consumer_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'kinesis/stream_consumer_attributes.rb', line 18 def self.jsii_properties { :stream_consumer_arn => "streamConsumerArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'kinesis/stream_consumer_attributes.rb', line 24 def to_jsii result = {} result.merge!({ "streamConsumerArn" => @stream_consumer_arn, }) result.compact end |