1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. iot
  6. Stream

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi

    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.

    Create Stream Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Stream(name: string, args: StreamArgs, opts?: CustomResourceOptions);
    @overload
    def Stream(resource_name: str,
               args: StreamArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Stream(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               files: Optional[Sequence[StreamFileArgs]] = None,
               role_arn: Optional[str] = None,
               stream_id: Optional[str] = None,
               description: Optional[str] = None,
               tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewStream(ctx *Context, name string, args StreamArgs, opts ...ResourceOption) (*Stream, error)
    public Stream(string name, StreamArgs args, CustomResourceOptions? opts = null)
    public Stream(String name, StreamArgs args)
    public Stream(String name, StreamArgs args, CustomResourceOptions options)
    
    type: aws-native:iot:Stream
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_iot_stream" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args StreamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StreamArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StreamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StreamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StreamArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Stream Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Stream resource accepts the following input properties:

    Files List<Pulumi.AwsNative.IoT.Inputs.StreamFile>
    The files to stream.
    RoleArn string
    An IAM role that allows the IoT service principal to access your S3 files.
    StreamId string
    The stream ID.
    Description string
    The description of the stream.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Metadata which can be used to manage streams.
    Files []StreamFileArgs
    The files to stream.
    RoleArn string
    An IAM role that allows the IoT service principal to access your S3 files.
    StreamId string
    The stream ID.
    Description string
    The description of the stream.
    Tags TagArgs
    Metadata which can be used to manage streams.
    files list(object)
    The files to stream.
    role_arn string
    An IAM role that allows the IoT service principal to access your S3 files.
    stream_id string
    The stream ID.
    description string
    The description of the stream.
    tags list(object)
    Metadata which can be used to manage streams.
    files List<StreamFile>
    The files to stream.
    roleArn String
    An IAM role that allows the IoT service principal to access your S3 files.
    streamId String
    The stream ID.
    description String
    The description of the stream.
    tags List<Tag>
    Metadata which can be used to manage streams.
    files StreamFile[]
    The files to stream.
    roleArn string
    An IAM role that allows the IoT service principal to access your S3 files.
    streamId string
    The stream ID.
    description string
    The description of the stream.
    tags Tag[]
    Metadata which can be used to manage streams.
    files Sequence[StreamFileArgs]
    The files to stream.
    role_arn str
    An IAM role that allows the IoT service principal to access your S3 files.
    stream_id str
    The stream ID.
    description str
    The description of the stream.
    tags Sequence[TagArgs]
    Metadata which can be used to manage streams.
    files List<Property Map>
    The files to stream.
    roleArn String
    An IAM role that allows the IoT service principal to access your S3 files.
    streamId String
    The stream ID.
    description String
    The description of the stream.
    tags List<Property Map>
    Metadata which can be used to manage streams.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Stream resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the stream.
    CreatedAt string
    The date when the stream was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    The date when the stream was last updated.
    StreamVersion int
    The stream version.
    Arn string
    The Amazon Resource Name (ARN) of the stream.
    CreatedAt string
    The date when the stream was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    The date when the stream was last updated.
    StreamVersion int
    The stream version.
    arn string
    The Amazon Resource Name (ARN) of the stream.
    created_at string
    The date when the stream was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated_at string
    The date when the stream was last updated.
    stream_version number
    The stream version.
    arn String
    The Amazon Resource Name (ARN) of the stream.
    createdAt String
    The date when the stream was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    The date when the stream was last updated.
    streamVersion Integer
    The stream version.
    arn string
    The Amazon Resource Name (ARN) of the stream.
    createdAt string
    The date when the stream was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt string
    The date when the stream was last updated.
    streamVersion number
    The stream version.
    arn str
    The Amazon Resource Name (ARN) of the stream.
    created_at str
    The date when the stream was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_at str
    The date when the stream was last updated.
    stream_version int
    The stream version.
    arn String
    The Amazon Resource Name (ARN) of the stream.
    createdAt String
    The date when the stream was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    The date when the stream was last updated.
    streamVersion Number
    The stream version.

    Supporting Types

    StreamFile, StreamFileArgs

    Represents a file to stream.
    file_id number
    The file ID.
    s3_location object
    fileId Number
    The file ID.
    s3Location Property Map

    StreamS3Location, StreamS3LocationArgs

    The location of the file in S3.
    Bucket string
    The S3 bucket.
    Key string
    The S3 key.
    Version string
    The S3 bucket version.
    Bucket string
    The S3 bucket.
    Key string
    The S3 key.
    Version string
    The S3 bucket version.
    bucket string
    The S3 bucket.
    key string
    The S3 key.
    version string
    The S3 bucket version.
    bucket String
    The S3 bucket.
    key String
    The S3 key.
    version String
    The S3 bucket version.
    bucket string
    The S3 bucket.
    key string
    The S3 key.
    version string
    The S3 bucket version.
    bucket str
    The S3 bucket.
    key str
    The S3 key.
    version str
    The S3 bucket version.
    bucket String
    The S3 bucket.
    key String
    The S3 key.
    version String
    The S3 bucket version.

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial