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

Class: Aws::IoT::Types::KinesisAction

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

Overview

Note:

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

{
  role_arn: "AwsArn", # required
  stream_name: "StreamName", # required
  partition_key: "PartitionKey",
}

Describes an action to write data to an Amazon Kinesis stream.

Instance Attribute Summary collapse

Instance Attribute Details

#partition_keyString

The partition key.

Returns:

  • (String)


1839
1840
1841
1842
1843
1844
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1839

class KinesisAction < Struct.new(
  :role_arn,
  :stream_name,
  :partition_key)
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that grants access to the Amazon Kinesis stream.

Returns:

  • (String)


1839
1840
1841
1842
1843
1844
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1839

class KinesisAction < Struct.new(
  :role_arn,
  :stream_name,
  :partition_key)
  include Aws::Structure
end

#stream_nameString

The name of the Amazon Kinesis stream.

Returns:

  • (String)


1839
1840
1841
1842
1843
1844
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1839

class KinesisAction < Struct.new(
  :role_arn,
  :stream_name,
  :partition_key)
  include Aws::Structure
end