Class: AWSCDK::KinesisAnalytics::CfnApplicationOutput::KinesisFirehoseOutputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationOutput::KinesisFirehoseOutputProperty
- Defined in:
- kinesis_analytics/cfn_application_output.rb
Overview
When configuring application output, identifies an Amazon Kinesis Firehose delivery stream as the destination.
You provide the stream Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to write to the stream on your behalf.
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
readonly
ARN of the destination Amazon Kinesis Firehose delivery stream to write to.
-
#role_arn ⇒ String
readonly
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_arn:, role_arn:) ⇒ KinesisFirehoseOutputProperty
constructor
A new instance of KinesisFirehoseOutputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_arn:, role_arn:) ⇒ KinesisFirehoseOutputProperty
Returns a new instance of KinesisFirehoseOutputProperty.
560 561 562 563 564 565 |
# File 'kinesis_analytics/cfn_application_output.rb', line 560 def initialize(resource_arn:, role_arn:) @resource_arn = resource_arn Jsii::Type.check_type(@resource_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceArn") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") end |
Instance Attribute Details
#resource_arn ⇒ String (readonly)
ARN of the destination Amazon Kinesis Firehose delivery stream to write to.
571 572 573 |
# File 'kinesis_analytics/cfn_application_output.rb', line 571 def resource_arn @resource_arn end |
#role_arn ⇒ String (readonly)
ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf.
You need to grant the necessary permissions to this role.
578 579 580 |
# File 'kinesis_analytics/cfn_application_output.rb', line 578 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
580 581 582 583 584 585 |
# File 'kinesis_analytics/cfn_application_output.rb', line 580 def self.jsii_properties { :resource_arn => "resourceArn", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
587 588 589 590 591 592 593 594 |
# File 'kinesis_analytics/cfn_application_output.rb', line 587 def to_jsii result = {} result.merge!({ "resourceArn" => @resource_arn, "roleArn" => @role_arn, }) result.compact end |