Interface CfnStreamProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStreamProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:24.088Z")
@Stability(Stable)
public interface CfnStreamProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.kinesisvideo.*;
CfnStreamProps cfnStreamProps = CfnStreamProps.builder()
.dataRetentionInHours(123)
.deviceName("deviceName")
.kmsKeyId("kmsKeyId")
.mediaType("mediaType")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStreamPropsstatic final classAn implementation forCfnStreamProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStreamProps.Builderbuilder()default NumberHow long the stream retains data, in hours.default StringThe name of the device that is associated with the stream.default StringThe ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream.default StringTheMediaTypeof the stream.default StringgetName()The name of the stream.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataRetentionInHours
How long the stream retains data, in hours.- See Also:
-
getDeviceName
The name of the device that is associated with the stream.- See Also:
-
getKmsKeyId
The ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream.- See Also:
-
getMediaType
TheMediaTypeof the stream.- See Also:
-
getName
The name of the stream.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnStreamProps.BuilderofCfnStreamProps
-