AWS::IoT::Stream

IoT Stream

Resource Type definition for AWS IoT Stream. A stream is a publicly addressable resource that is an abstraction for a list of files that can be transferred to an IoT device.

Properties

5 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Files
Array<StreamFile>
Required
RoleArn
string
Required
StreamId
string
RequiredCreate-only
Description
string
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the stream.
CreatedAtstringThe date when the stream was created.
LastUpdatedAtstringThe date when the stream was last updated.
StreamVersionintegerThe stream version.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::Stream

Resources:
  MyResource:
    Type: AWS::IoT::Stream
    Properties:
      StreamId: "my-streamid"
      Files: []
      RoleArn: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

iot:CreateStreamiot:DescribeStreamiot:TagResourceiot:ListTagsForResourceiam:PassRole

read

iot:DescribeStreamiot:ListTagsForResource

update

iot:UpdateStreamiot:DescribeStreamiot:TagResourceiot:UntagResourceiot:ListTagsForResourceiam:PassRole

delete

iot:DeleteStream

list

iot:ListStreams

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceIoT
Properties9
Required3
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

StreamId

External Links