Class: AWSCDK::KinesisAnalytics::CfnApplication::KinesisFirehoseInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplication::KinesisFirehoseInputProperty
- Defined in:
- kinesis_analytics/cfn_application.rb
Overview
Identifies an Amazon Kinesis Firehose delivery stream as the streaming source.
You provide the delivery stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
readonly
ARN of the input delivery stream.
-
#role_arn ⇒ String
readonly
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_arn:, role_arn:) ⇒ KinesisFirehoseInputProperty
constructor
A new instance of KinesisFirehoseInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_arn:, role_arn:) ⇒ KinesisFirehoseInputProperty
Returns a new instance of KinesisFirehoseInputProperty.
899 900 901 902 903 904 |
# File 'kinesis_analytics/cfn_application.rb', line 899 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 input delivery stream.
910 911 912 |
# File 'kinesis_analytics/cfn_application.rb', line 910 def resource_arn @resource_arn end |
#role_arn ⇒ String (readonly)
ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.
You need to make sure that the role has the necessary permissions to access the stream.
917 918 919 |
# File 'kinesis_analytics/cfn_application.rb', line 917 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
919 920 921 922 923 924 |
# File 'kinesis_analytics/cfn_application.rb', line 919 def self.jsii_properties { :resource_arn => "resourceArn", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
926 927 928 929 930 931 932 933 |
# File 'kinesis_analytics/cfn_application.rb', line 926 def to_jsii result = {} result.merge!({ "resourceArn" => @resource_arn, "roleArn" => @role_arn, }) result.compact end |