Interface CfnStreamProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStreamProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:58.381Z")
@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();
-
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 KMS ) 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. -
getDeviceName
The name of the device that is associated with the stream. -
getKmsKeyId
The ID of the AWS Key Management Service ( AWS KMS ) key that Kinesis Video Streams uses to encrypt data on the stream. -
getMediaType
TheMediaTypeof the stream. -
getName
The name of the stream. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnStreamProps.BuilderofCfnStreamProps
-