Interface CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Jsii$Proxy
- Enclosing class:
CfnPackagingConfigurationPropsMixin
@Stability(Stable)
public static interface CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty
extends software.amazon.jsii.JsiiSerializable
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.mediapackage.*;
SpekeKeyProviderProperty spekeKeyProviderProperty = SpekeKeyProviderProperty.builder()
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectUseencryptionContractConfigurationto configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0.default StringThe ARN for the IAM role that's granted by the key provider to provide access to the key provider API.List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.default StringgetUrl()URL for the key provider's key retrieval API endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionContractConfiguration
UseencryptionContractConfigurationto configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.Returns union: either
IResolvableorCfnPackagingConfigurationPropsMixin.EncryptionContractConfigurationProperty- See Also:
-
getRoleArn
The ARN for the IAM role that's granted by the key provider to provide access to the key provider API.Valid format: arn:aws:iam::{accountID}:role/{name}
- See Also:
-
getSystemIds
List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.- See Also:
-
getUrl
URL for the key provider's key retrieval API endpoint.Must start with https://.
- See Also:
-
builder
@Stability(Stable) static CfnPackagingConfigurationPropsMixin.SpekeKeyProviderProperty.Builder builder()
-