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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStreamProps
static final class
An implementation forCfnStreamProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStreamProps.Builder
builder()
default Number
How long the stream retains data, in hours.default String
The name of the device that is associated with the stream.default String
The ID of the AWS Key Management Service ( AWS KMS ) key that Kinesis Video Streams uses to encrypt data on the stream.default String
TheMediaType
of the stream.default String
getName()
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
TheMediaType
of 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.Builder
ofCfnStreamProps
-