Class CfnStreamProps
Properties for defining a CfnStream
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.KinesisVideo
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStreamProps : Object, ICfnStreamProps
Syntax (vb)
Public Class CfnStreamProps
Inherits Object
Implements ICfnStreamProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisvideo-stream.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisVideo;
var cfnStreamProps = new CfnStreamProps {
DataRetentionInHours = 123,
DeviceName = "deviceName",
KmsKeyId = "kmsKeyId",
MediaType = "mediaType",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnStreamProps() |
Properties
DataRetentionInHours | How long the stream retains data, in hours. |
DeviceName | The name of the device that is associated with the stream. |
KmsKeyId | The ID of the AWS Key Management Service ( AWS KMS ) key that Kinesis Video Streams uses to encrypt data on the stream. |
MediaType | The |
Name | The name of the stream. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnStreamProps()
public CfnStreamProps()
Properties
DataRetentionInHours
How long the stream retains data, in hours.
public Nullable<double> DataRetentionInHours { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
DeviceName
The name of the device that is associated with the stream.
public string DeviceName { get; set; }
Property Value
System.String
Remarks
KmsKeyId
The ID of the AWS Key Management Service ( AWS KMS ) key that Kinesis Video Streams uses to encrypt data on the stream.
public string KmsKeyId { get; set; }
Property Value
System.String
Remarks
MediaType
The MediaType
of the stream.
public string MediaType { get; set; }
Property Value
System.String
Remarks
Name
The name of the stream.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .