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
The parameters for encrypting content.
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")
.ismEncryptionMethod("ismEncryptionMethod")
.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
.cmafExcludeSegmentDrmMetadata(false)
.constantInitializationVector("constantInitializationVector")
.keyRotationIntervalSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOriginEndpoint.EncryptionPropertystatic final classAn implementation forCfnOriginEndpoint.EncryptionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectExcludes SEIG and SGPD boxes from segment metadata in CMAF containers.default StringA 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content.The encryption method to use.default NumberThe interval, in seconds, to rotate encryption keys for the origin endpoint.The SPEKE key provider to use for encryption.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionMethod
The encryption method to use.Returns union: either
IResolvableorCfnOriginEndpoint.EncryptionMethodProperty- See Also:
-
getSpekeKeyProvider
The SPEKE key provider to use for encryption.Returns union: either
IResolvableorCfnOriginEndpoint.SpekeKeyProviderProperty- See Also:
-
getCmafExcludeSegmentDrmMetadata
Excludes SEIG and SGPD boxes from segment metadata in CMAF containers.When set to
true, MediaPackage omits these DRM metadata boxes from CMAF segments, which can improve compatibility with certain devices and players that don't support these boxes.Important considerations:
- This setting only affects CMAF container formats
- Key rotation can still be handled through media playlist signaling
- PSSH and TENC boxes remain unaffected
- Default behavior is preserved when this setting is disabled
Valid values:
true|falseDefault:
falseReturns union: either
BooleanorIResolvable- See Also:
-
getConstantInitializationVector
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content.If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
- See Also:
-
getKeyRotationIntervalSeconds
The interval, in seconds, to rotate encryption keys for the origin endpoint.- See Also:
-
builder
-