# FileLocationProperty

- Source: Generated code
- Type last changed: v2.276.0 · 10 Nov 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 fileLocationProperty: iot.CfnOTAUpdate.FileLocationProperty = {
  s3Location: {
    bucket: 'bucket',
    key: 'key',
    version: 'version',
  },
  stream: {
    fileId: 123,
    streamId: 'streamId',
  },
};
```

## Properties

- `s3Location`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOTAUpdate.S3LocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnOTAUpdate.S3LocationProperty.html)

- `stream`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOTAUpdate.StreamProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnOTAUpdate.StreamProperty.html)
