Interface CfnOriginEndpoint.DashEncryptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpoint.DashEncryptionProperty.Jsii$Proxy
- Enclosing class:
CfnOriginEndpoint
@Stability(Stable)
public static interface CfnOriginEndpoint.DashEncryptionProperty
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.*;
DashEncryptionProperty dashEncryptionProperty = DashEncryptionProperty.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
.keyRotationIntervalSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOriginEndpoint.DashEncryptionPropertystatic final classAn implementation forCfnOriginEndpoint.DashEncryptionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSpekeKeyProvider
Parameters for the SPEKE key provider.Returns union: either
IResolvableorCfnOriginEndpoint.SpekeKeyProviderProperty- See Also:
-
getKeyRotationIntervalSeconds
Number of seconds before AWS Elemental MediaPackage rotates to a new key.By default, rotation is set to 60 seconds. Set to
0to disable key rotation.- See Also:
-
builder
-