AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::KinesisVideo::Stream

CfnStream

Specifies a new Kinesis video stream. When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version. `CreateStream` is an asynchronous operation. For information about how the service works, see [How it Works](https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-it-works.html) . You must have permissions for the `KinesisVideo:CreateStream` action.

Import

import { CfnStream } from 'aws-cdk-lib/aws-kinesisvideo';

Or use the module namespace:

import * as kinesisvideo from 'aws-cdk-lib/aws-kinesisvideo';
// kinesisvideo.CfnStream

Properties

Configuration passed to the constructor as CfnStreamProps.

dataRetentionInHoursOptional
number

How long the stream retains data, in hours.

deviceNameOptional
string

The name of the device that is associated with the stream.

kmsKeyIdOptional
string

The ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream.

mediaTypeOptional
string

The `MediaType` of the stream.

nameOptional
string

The name of the stream.

streamStorageConfigurationOptional
IResolvable | StreamStorageConfigurationProperty

The configuration for stream storage, including the default storage tier for stream data. This configuration determines how stream data is stored and accessed, with different tiers offering varying levels of performance and cost optimization.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-kinesisvideo
CFN TypeAWS::KinesisVideo::Stream
Properties7

Related Constructs

External Links