interface StreamFileProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnStream.StreamFileProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnStream_StreamFileProperty |
Java | software.amazon.awscdk.services.iot.CfnStream.StreamFileProperty |
Python | aws_cdk.aws_iot.CfnStream.StreamFileProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnStream » StreamFileProperty |
Represents a file to stream.
Example
// 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
| Name | Type | Description |
|---|---|---|
| file | number | The file ID. |
| s3 | IResolvable | S3 | The location of the file in S3. |
fileId?
Type:
number
(optional)
The file ID.
s3Location?
Type:
IResolvable | S3
(optional)
The location of the file in S3.

.NET
Go
Java
Python
TypeScript