public static interface CfnOriginEndpoint.HlsEncryptionProperty
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.*; HlsEncryptionProperty hlsEncryptionProperty = HlsEncryptionProperty.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) .repeatExtXKey(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnOriginEndpoint.HlsEncryptionProperty.Builder
A builder for
CfnOriginEndpoint.HlsEncryptionProperty |
static class |
CfnOriginEndpoint.HlsEncryptionProperty.Jsii$Proxy
An implementation for
CfnOriginEndpoint.HlsEncryptionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnOriginEndpoint.HlsEncryptionProperty.Builder |
builder() |
default java.lang.String |
getConstantInitializationVector()
A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.
|
default java.lang.String |
getEncryptionMethod()
HLS encryption type.
|
default java.lang.Number |
getKeyRotationIntervalSeconds()
Number of seconds before AWS Elemental MediaPackage rotates to a new key.
|
default java.lang.Object |
getRepeatExtXKey()
Repeat the `EXT-X-KEY` directive for every media segment.
|
java.lang.Object |
getSpekeKeyProvider()
Parameters for the SPEKE key provider.
|
java.lang.Object getSpekeKeyProvider()
default java.lang.String getConstantInitializationVector()
default java.lang.String getEncryptionMethod()
default java.lang.Number getKeyRotationIntervalSeconds()
By default, rotation is set to 60 seconds. Set to 0
to disable key rotation.
default java.lang.Object getRepeatExtXKey()
This might result in an increase in client requests to the DRM server.
static CfnOriginEndpoint.HlsEncryptionProperty.Builder builder()