Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::KinesisStreamSourceConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::CfnDeliveryStream::KinesisStreamSourceConfigurationProperty
- Defined in:
- kinesis_firehose/cfn_delivery_stream.rb
Overview
The KinesisStreamSourceConfiguration property type specifies the stream and role Amazon Resource Names (ARNs) for a Kinesis stream used as the source for a delivery stream.
Instance Attribute Summary collapse
-
#kinesis_stream_arn ⇒ String
readonly
The ARN of the source Kinesis data stream.
-
#role_arn ⇒ String
readonly
The ARN of the role that provides access to the source Kinesis data stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kinesis_stream_arn:, role_arn:) ⇒ KinesisStreamSourceConfigurationProperty
constructor
A new instance of KinesisStreamSourceConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kinesis_stream_arn:, role_arn:) ⇒ KinesisStreamSourceConfigurationProperty
Returns a new instance of KinesisStreamSourceConfigurationProperty.
3259 3260 3261 3262 3263 3264 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3259 def initialize(kinesis_stream_arn:, role_arn:) @kinesis_stream_arn = kinesis_stream_arn Jsii::Type.check_type(@kinesis_stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kinesisStreamArn") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") end |
Instance Attribute Details
#kinesis_stream_arn ⇒ String (readonly)
The ARN of the source Kinesis data stream.
3270 3271 3272 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3270 def kinesis_stream_arn @kinesis_stream_arn end |
#role_arn ⇒ String (readonly)
The ARN of the role that provides access to the source Kinesis data stream.
3275 3276 3277 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3275 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
3277 3278 3279 3280 3281 3282 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3277 def self.jsii_properties { :kinesis_stream_arn => "kinesisStreamArn", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
3284 3285 3286 3287 3288 3289 3290 3291 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3284 def to_jsii result = {} result.merge!({ "kinesisStreamArn" => @kinesis_stream_arn, "roleArn" => @role_arn, }) result.compact end |