interface CfnStreamProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisVideo.CfnStreamProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisvideo#CfnStreamProps |
Java | software.amazon.awscdk.services.kinesisvideo.CfnStreamProps |
Python | aws_cdk.aws_kinesisvideo.CfnStreamProps |
TypeScript | aws-cdk-lib » aws_kinesisvideo » CfnStreamProps |
Properties for defining a CfnStream.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisvideo-stream.html
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',
streamStorageConfiguration: {
defaultStorageTier: 'defaultStorageTier',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| data | number | How long the stream retains data, in hours. |
| device | string | The name of the device that is associated with the stream. |
| kms | string | The ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream. |
| media | string | The MediaType of the stream. |
| name? | string | The name of the stream. |
| stream | IResolvable | Stream | The configuration for stream storage, including the default storage tier for stream data. |
| tags? | Cfn[] | 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 ) 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.
streamStorageConfiguration?
Type:
IResolvable | Stream
(optional)
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.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Go
Java
Python
TypeScript