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();
 
  • Method Details

    • getDataRetentionInHours

      @Stability(Stable) @Nullable default Number getDataRetentionInHours()
      How long the stream retains data, in hours.
    • getDeviceName

      @Stability(Stable) @Nullable default String getDeviceName()
      The name of the device that is associated with the stream.
    • getKmsKeyId

      @Stability(Stable) @Nullable default String getKmsKeyId()
      The ID of the AWS Key Management Service ( AWS KMS ) key that Kinesis Video Streams uses to encrypt data on the stream.
    • getMediaType

      @Stability(Stable) @Nullable default String getMediaType()
      The MediaType of the stream.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the stream.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnStreamProps.Builder builder()
      Returns:
      a CfnStreamProps.Builder of CfnStreamProps