Interface CfnOriginEndpoint.CmafEncryptionProperty

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

@Stability(Stable) public static interface CfnOriginEndpoint.CmafEncryptionProperty extends software.amazon.jsii.JsiiSerializable
Holds encryption information so that access to the content can be controlled by a DRM solution.

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.mediapackage.*;
 CmafEncryptionProperty cmafEncryptionProperty = CmafEncryptionProperty.builder()
         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                 .resourceId("resourceId")
                 .roleArn("roleArn")
                 .systemIds(List.of("systemIds"))
                 .url("url")
                 // the properties below are optional
                 .certificateArn("certificateArn")
                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
                         .presetSpeke20Audio("presetSpeke20Audio")
                         .presetSpeke20Video("presetSpeke20Video")
                         .build())
                 .build())
         // the properties below are optional
         .constantInitializationVector("constantInitializationVector")
         .encryptionMethod("encryptionMethod")
         .keyRotationIntervalSeconds(123)
         .build();
 

See Also: