We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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.
Aws Native. Io T. Inputs. Stream File> - 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.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Metadata which can be used to manage streams.
- Files
[]Stream
File Args - 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.
-
Tag
Args - 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.
- list(object)
- Metadata which can be used to manage streams.
- files
List<Stream
File> - 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.
- List<Tag>
- Metadata which can be used to manage streams.
- files
Stream
File[] - 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.
- Tag[]
- Metadata which can be used to manage streams.
- files
Sequence[Stream
File Args] - 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.
-
Sequence[Tag
Args] - Metadata which can be used to manage streams.
- files List<Property Map>
- 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.
- 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.
- Created
At string - The date when the stream was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - The date when the stream was last updated.
- Stream
Version 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 stringAt - The date when the stream was last updated.
- Stream
Version 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_ stringat - The date when the stream was last updated.
- stream_
version number - 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 StringAt - The date when the stream was last updated.
- stream
Version Integer - 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 stringAt - The date when the stream was last updated.
- stream
Version 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_ strat - The date when the stream was last updated.
- stream_
version 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 StringAt - The date when the stream was last updated.
- stream
Version Number - The stream version.
Supporting Types
StreamFile, StreamFileArgs
Represents a file to stream.- File
Id int - The file ID.
- S3Location
Pulumi.
Aws Native. Io T. Inputs. Stream S3Location
- File
Id int - The file ID.
- S3Location
Stream
S3Location
- file_
id number - The file ID.
- s3_
location object
- file
Id Integer - The file ID.
- s3Location
Stream
S3Location
- file
Id number - The file ID.
- s3Location
Stream
S3Location
- file_
id int - The file ID.
- s3_
location StreamS3Location
- file
Id Number - The file ID.
- s3Location Property Map
StreamS3Location, StreamS3LocationArgs
The location of the file in S3.Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi