Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::KinesisStreamsInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analytics/cfn_application_v2.rb

Overview

Identifies a Kinesis data stream as the streaming source.

You provide the stream's Amazon Resource Name (ARN).

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_arn:) ⇒ KinesisStreamsInputProperty

Returns a new instance of KinesisStreamsInputProperty.

Parameters:

  • resource_arn (String)

    The ARN of the input Kinesis data stream to read.



1762
1763
1764
1765
# File 'kinesis_analytics/cfn_application_v2.rb', line 1762

def initialize(resource_arn:)
  @resource_arn = resource_arn
  Jsii::Type.check_type(@resource_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceArn")
end

Instance Attribute Details

#resource_arnString (readonly)

The ARN of the input Kinesis data stream to read.



1771
1772
1773
# File 'kinesis_analytics/cfn_application_v2.rb', line 1771

def resource_arn
  @resource_arn
end

Class Method Details

.jsii_propertiesObject



1773
1774
1775
1776
1777
# File 'kinesis_analytics/cfn_application_v2.rb', line 1773

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

Instance Method Details

#to_jsiiObject



1779
1780
1781
1782
1783
1784
1785
# File 'kinesis_analytics/cfn_application_v2.rb', line 1779

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