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

Class: Aws::IoT::Types::CreateStreamRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateStreamRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  stream_id: "StreamId", # required
  description: "StreamDescription",
  files: [ # required
    {
      file_id: 1,
      s3_location: {
        bucket: "S3Bucket",
        key: "S3Key",
        version: "S3Version",
      },
    },
  ],
  role_arn: "RoleArn", # required
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the stream.

Returns:

  • (String)

    A description of the stream.

#filesArray<Types::StreamFile>

The files to stream.

Returns:

#role_arnString

An IAM role that allows the IoT service principal assumes to access your S3 files.

Returns:

  • (String)

    An IAM role that allows the IoT service principal assumes to access your S3 files.

#stream_idString

The stream ID.

Returns:

  • (String)

    The stream ID.

#tagsArray<Types::Tag>

Metadata which can be used to manage streams.

Returns:

  • (Array<Types::Tag>)

    Metadata which can be used to manage streams.