Interface CfnOriginEndpoint.EncryptionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnOriginEndpoint.EncryptionProperty.Jsii$Proxy
Enclosing class:
CfnOriginEndpoint

@Stability(Stable) public static interface CfnOriginEndpoint.EncryptionProperty extends software.amazon.jsii.JsiiSerializable
A collection of video encryption presets.

Value description:

  • PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.
  • PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.
  • PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.
  • PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
  • PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
  • PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
  • PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
  • PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
  • SHARED - Use the same content key for all of the video and audio tracks in your stream.
  • UNENCRYPTED - Don't encrypt any of the video tracks in your stream.

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.mediapackagev2.*;
 EncryptionProperty encryptionProperty = EncryptionProperty.builder()
         .encryptionMethod(EncryptionMethodProperty.builder()
                 .cmafEncryptionMethod("cmafEncryptionMethod")
                 .tsEncryptionMethod("tsEncryptionMethod")
                 .build())
         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                 .drmSystems(List.of("drmSystems"))
                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
                         .presetSpeke20Audio("presetSpeke20Audio")
                         .presetSpeke20Video("presetSpeke20Video")
                         .build())
                 .resourceId("resourceId")
                 .roleArn("roleArn")
                 .url("url")
                 .build())
         // the properties below are optional
         .constantInitializationVector("constantInitializationVector")
         .keyRotationIntervalSeconds(123)
         .build();
 

See Also: