interface StreamFileProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnStreamPropsMixin.StreamFileProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnStreamPropsMixin_StreamFileProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnStreamPropsMixin.StreamFileProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnStreamPropsMixin.StreamFileProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » CfnStreamPropsMixin » 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/cfn-property-mixins';
const streamFileProperty: iot.CfnStreamPropsMixin.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