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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOriginEndpoint.CmafEncryptionPropertystatic final classAn implementation forCfnOriginEndpoint.CmafEncryptionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAn optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks.default StringThe encryption method to use.default NumberNumber of seconds before AWS Elemental MediaPackage rotates to a new key.Parameters for the SPEKE key provider.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:
-
getConstantInitializationVector
An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks.If you don't specify a value, then AWS Elemental MediaPackage creates the constant initialization vector (IV).
- See Also:
-
getEncryptionMethod
The encryption method to use.- 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
-