aws-cdk-lib.aws_kinesisvideo.CfnStreamProps

interface CfnStreamProps

LanguageType name
.NETAmazon.CDK.AWS.KinesisVideo.CfnStreamProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesisvideo#CfnStreamProps
Javasoftware.amazon.awscdk.services.kinesisvideo.CfnStreamProps
Pythonaws_cdk.aws_kinesisvideo.CfnStreamProps
TypeScript aws-cdk-lib » aws_kinesisvideo » CfnStreamProps

Properties for defining a CfnStream.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisvideo as kinesisvideo } from 'aws-cdk-lib';
const cfnStreamProps: kinesisvideo.CfnStreamProps = {
  dataRetentionInHours: 123,
  deviceName: 'deviceName',
  kmsKeyId: 'kmsKeyId',
  mediaType: 'mediaType',
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
dataRetentionInHours?numberHow long the stream retains data, in hours.
deviceName?stringThe name of the device that is associated with the stream.
kmsKeyId?stringThe ID of the AWS Key Management Service ( AWS KMS ) key that Kinesis Video Streams uses to encrypt data on the stream.
mediaType?stringThe MediaType of the stream.
name?stringThe name of the stream.
tags?CfnTag[]An array of key-value pairs to apply to this resource.

dataRetentionInHours?

Type: number (optional)

How long the stream retains data, in hours.


deviceName?

Type: string (optional)

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


kmsKeyId?

Type: string (optional)

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


mediaType?

Type: string (optional)

The MediaType of the stream.


name?

Type: string (optional)

The name of the stream.


tags?

Type: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .