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
- Struct
- Aws::IoT::Types::CreateStreamRequest
 
- 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", # required
      value: "TagValue",
    },
  ],
}
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A description of the stream. 
- 
  
    
      #files  ⇒ Array<Types::StreamFile> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The files to stream. 
- 
  
    
      #role_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An IAM role that allows the IoT service principal assumes to access your S3 files. 
- 
  
    
      #stream_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The stream ID. 
- 
  
    
      #tags  ⇒ Array<Types::Tag> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Metadata which can be used to manage streams. 
Instance Attribute Details
#description ⇒ String
A description of the stream.
#files ⇒ Array<Types::StreamFile>
The files to stream.
#role_arn ⇒ String
An IAM role that allows the IoT service principal assumes to access your S3 files.
#stream_id ⇒ String
The stream ID.
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage streams.