AWS::KinesisVideo::Stream
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.
You must have permissions for the KinesisVideo:CreateStream
action.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::KinesisVideo::Stream", "Properties" : { "DataRetentionInHours" :
Integer
, "DeviceName" :String
, "KmsKeyId" :String
, "MediaType" :String
, "Name" :String
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::KinesisVideo::Stream Properties: DataRetentionInHours:
Integer
DeviceName:String
KmsKeyId:String
MediaType:String
Name:String
Tags:- Tag
Properties
DataRetentionInHours
-
How long the stream retains data, in hours.
Required: No
Type: Integer
Minimum:
0
Update requires: No interruption
DeviceName
-
The name of the device that is associated with the stream.
Required: No
Type: String
Minimum:
1
Maximum:
128
Pattern:
[a-zA-Z0-9_.-]+
Update requires: No interruption
KmsKeyId
-
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
Required: No
Type: String
Minimum:
1
Maximum:
2048
Pattern:
.+
Update requires: No interruption
MediaType
-
The
MediaType
of the stream.Required: No
Type: String
Minimum:
1
Maximum:
128
Pattern:
[\w\-\.\+]+/[\w\-\.\+]+(,[\w\-\.\+]+/[\w\-\.\+]+)*
Update requires: No interruption
Name
-
The name of the stream.
Required: No
Type: String
Update requires: Replacement
Tags
-
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Required: No
Type: List of Tag
Update requires: No interruption