Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::InputParallelismProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationV2::InputParallelismProperty
- Defined in:
- kinesis_analytics/cfn_application_v2.rb
Overview
For a SQL-based Kinesis Data Analytics application, describes the number of in-application streams to create for a given streaming source.
Instance Attribute Summary collapse
-
#count ⇒ Numeric?
readonly
The number of in-application streams to create.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(count: nil) ⇒ InputParallelismProperty
constructor
A new instance of InputParallelismProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(count: nil) ⇒ InputParallelismProperty
Returns a new instance of InputParallelismProperty.
1482 1483 1484 1485 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1482 def initialize(count: nil) @count = count Jsii::Type.check_type(@count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "count") unless @count.nil? end |
Instance Attribute Details
#count ⇒ Numeric? (readonly)
The number of in-application streams to create.
1491 1492 1493 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1491 def count @count end |
Class Method Details
.jsii_properties ⇒ Object
1493 1494 1495 1496 1497 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1493 def self.jsii_properties { :count => "count", } end |
Instance Method Details
#to_jsii ⇒ Object
1499 1500 1501 1502 1503 1504 1505 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1499 def to_jsii result = {} result.merge!({ "count" => @count, }) result.compact end |