AWS::KinesisVideo::StreamSpecifies 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 { CfnStream } from 'aws-cdk-lib/aws-kinesisvideo';Or use the module namespace:
import * as kinesisvideo from 'aws-cdk-lib/aws-kinesisvideo';
// kinesisvideo.CfnStreamConfiguration passed to the constructor as CfnStreamProps.
dataRetentionInHoursOptionalnumberHow long the stream retains data, in hours.
deviceNameOptionalstringThe name of the device that is associated with the stream.
kmsKeyIdOptionalstringThe ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream.
mediaTypeOptionalstringThe `MediaType` of the stream.
nameOptionalstringThe name of the stream.
streamStorageConfigurationOptionalIResolvable | StreamStorageConfigurationPropertyThe 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.
tagsOptionalCfnTag[]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) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-kinesisvideoAWS::KinesisVideo::Stream