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

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.

    Using getStream

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getStream(args: GetStreamArgs, opts?: InvokeOptions): Promise<GetStreamResult>
    function getStreamOutput(args: GetStreamOutputArgs, opts?: InvokeOutputOptions): Output<GetStreamResult>
    def get_stream(arn: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetStreamResult
    def get_stream_output(arn: pulumi.Input[Optional[str]] = None,
                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetStreamResult]
    func LookupStream(ctx *Context, args *LookupStreamArgs, opts ...InvokeOption) (*LookupStreamResult, error)
    func LookupStreamOutput(ctx *Context, args *LookupStreamOutputArgs, opts ...InvokeOption) LookupStreamResultOutput

    > Note: This function is named LookupStream in the Go SDK.

    public static class GetStream 
    {
        public static Task<GetStreamResult> InvokeAsync(GetStreamArgs args, InvokeOptions? opts = null)
        public static Output<GetStreamResult> Invoke(GetStreamInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetStreamResult> Invoke(GetStreamInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetStreamResult> getStream(GetStreamArgs args, InvokeOptions options)
    public static Output<GetStreamResult> getStream(GetStreamArgs args, InvokeOptions options)
    public static Output<GetStreamResult> getStream(GetStreamArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:iot:getStream
      arguments:
        # arguments dictionary
    data "aws-native_iot_get_stream" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the stream.
    Arn string
    The Amazon Resource Name (ARN) of the stream.
    arn string
    The Amazon Resource Name (ARN) of the stream.
    arn String
    The Amazon Resource Name (ARN) of the stream.
    arn string
    The Amazon Resource Name (ARN) of the stream.
    arn str
    The Amazon Resource Name (ARN) of the stream.
    arn String
    The Amazon Resource Name (ARN) of the stream.

    getStream Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the stream.
    CreatedAt string
    The date when the stream was created.
    Description string
    The description of the stream.
    Files List<Pulumi.AwsNative.IoT.Outputs.StreamFile>
    The files to stream.
    LastUpdatedAt string
    The date when the stream was last updated.
    RoleArn string
    An IAM role that allows the IoT service principal to access your S3 files.
    StreamVersion int
    The stream version.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Metadata which can be used to manage streams.
    Arn string
    The Amazon Resource Name (ARN) of the stream.
    CreatedAt string
    The date when the stream was created.
    Description string
    The description of the stream.
    Files []StreamFile
    The files to stream.
    LastUpdatedAt string
    The date when the stream was last updated.
    RoleArn string
    An IAM role that allows the IoT service principal to access your S3 files.
    StreamVersion int
    The stream version.
    Tags Tag
    Metadata which can be used to manage streams.
    arn string
    The Amazon Resource Name (ARN) of the stream.
    created_at string
    The date when the stream was created.
    description string
    The description of the stream.
    files list(object)
    The files to stream.
    last_updated_at string
    The date when the stream was last updated.
    role_arn string
    An IAM role that allows the IoT service principal to access your S3 files.
    stream_version number
    The stream version.
    tags list(object)
    Metadata which can be used to manage streams.
    arn String
    The Amazon Resource Name (ARN) of the stream.
    createdAt String
    The date when the stream was created.
    description String
    The description of the stream.
    files List<StreamFile>
    The files to stream.
    lastUpdatedAt String
    The date when the stream was last updated.
    roleArn String
    An IAM role that allows the IoT service principal to access your S3 files.
    streamVersion Integer
    The stream version.
    tags List<Tag>
    Metadata which can be used to manage streams.
    arn string
    The Amazon Resource Name (ARN) of the stream.
    createdAt string
    The date when the stream was created.
    description string
    The description of the stream.
    files StreamFile[]
    The files to stream.
    lastUpdatedAt string
    The date when the stream was last updated.
    roleArn string
    An IAM role that allows the IoT service principal to access your S3 files.
    streamVersion number
    The stream version.
    tags Tag[]
    Metadata which can be used to manage streams.
    arn str
    The Amazon Resource Name (ARN) of the stream.
    created_at str
    The date when the stream was created.
    description str
    The description of the stream.
    files Sequence[StreamFile]
    The files to stream.
    last_updated_at str
    The date when the stream was last updated.
    role_arn str
    An IAM role that allows the IoT service principal to access your S3 files.
    stream_version int
    The stream version.
    tags Sequence[root_Tag]
    Metadata which can be used to manage streams.
    arn String
    The Amazon Resource Name (ARN) of the stream.
    createdAt String
    The date when the stream was created.
    description String
    The description of the stream.
    files List<Property Map>
    The files to stream.
    lastUpdatedAt String
    The date when the stream was last updated.
    roleArn String
    An IAM role that allows the IoT service principal to access your S3 files.
    streamVersion Number
    The stream version.
    tags List<Property Map>
    Metadata which can be used to manage streams.

    Supporting Types

    StreamFile

    file_id number
    The file ID.
    s3_location object
    fileId Number
    The file ID.
    s3Location Property Map

    StreamS3Location

    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

    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