CfnStreamMixinProps
- class aws_cdk.cfn_property_mixins.aws_iot.CfnStreamMixinProps(*, description=None, files=None, role_arn=None, stream_id=None, tags=None)
Bases:
objectProperties for CfnStreamPropsMixin.
- Parameters:
description (
Optional[str]) – The description of the stream.files (
Union[IResolvable,Sequence[Union[IResolvable,StreamFileProperty,Dict[str,Any]]],None]) – The files to stream.role_arn (
Optional[str]) – An IAM role that allows the IoT service principal to access your S3 files.stream_id (
Optional[str]) – The stream ID.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Metadata which can be used to manage streams.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-stream.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_iot as iot cfn_stream_mixin_props = iot.CfnStreamMixinProps( description="description", files=[iot.CfnStreamPropsMixin.StreamFileProperty( file_id=123, s3_location=iot.CfnStreamPropsMixin.S3LocationProperty( bucket="bucket", key="key", version="version" ) )], role_arn="roleArn", stream_id="streamId", tags=[CfnTag( key="key", value="value" )] )
Attributes
- description
The description of the stream.
- files
The files to stream.
- role_arn
An IAM role that allows the IoT service principal to access your S3 files.
- stream_id
The stream ID.
- tags
Metadata which can be used to manage streams.