# StreamFileProperty

Represents a file to stream.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const streamFileProperty: iot.CfnStream.StreamFileProperty = {
  fileId: 123,
  s3Location: {
    bucket: 'bucket',
    key: 'key',
    version: 'version',
  },
};
```

## Properties

- `fileId`: number — The file ID.

- `s3Location`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnStream.S3LocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnStream.S3LocationProperty.html) — The location of the file in S3.
