You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::KinesisAnalytics::Types::KinesisStreamsInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb

Overview

Note:

When making an API call, you may pass KinesisStreamsInput data as a hash:

{
  resource_arn: "ResourceARN", # required
  role_arn: "RoleARN", # required
}

Identifies an Amazon Kinesis stream as the streaming source. You provide the 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

Instance Attribute Details

#resource_arnString

ARN of the input Amazon Kinesis stream to read.

Returns:

  • (String)


2267
2268
2269
2270
2271
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 2267

class KinesisStreamsInput < Struct.new(
  :resource_arn,
  :role_arn)
  include Aws::Structure
end

#role_arnString

ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.

Returns:

  • (String)


2267
2268
2269
2270
2271
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 2267

class KinesisStreamsInput < Struct.new(
  :resource_arn,
  :role_arn)
  include Aws::Structure
end