Class: AWSCDK::KinesisAnalyticsv2::CfnApplication::KinesisStreamsInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analyticsv2/cfn_application.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.



1761
1762
1763
1764
# File 'kinesis_analyticsv2/cfn_application.rb', line 1761

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.



1770
1771
1772
# File 'kinesis_analyticsv2/cfn_application.rb', line 1770

def resource_arn
  @resource_arn
end

Class Method Details

.jsii_propertiesObject



1772
1773
1774
1775
1776
# File 'kinesis_analyticsv2/cfn_application.rb', line 1772

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

Instance Method Details

#to_jsiiObject



1778
1779
1780
1781
1782
1783
1784
# File 'kinesis_analyticsv2/cfn_application.rb', line 1778

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