Skip to content
v2.275.0

StreamFileProperty Struct ​

Represents a file to stream.

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 ​

fileIdoptionalnumberfile_idoptionalint | floatfileIdoptionalNumberFileIdoptionaldoubleFileIdoptional*float64#
The file ID.
s3LocationoptionalIResolvable | CfnStream.S3LocationPropertys3_locationoptionaltyping.Union[IResolvable, S3LocationProperty]s3LocationoptionalIResolvableS3LocationoptionalIResolvableS3Locationoptionalinterface{}#
The location of the file in S3.