Interface CfnOriginEndpoint.SpekeKeyProviderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpoint.SpekeKeyProviderProperty.Jsii$Proxy
- Enclosing class:
CfnOriginEndpoint
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.*; SpekeKeyProviderProperty spekeKeyProviderProperty = SpekeKeyProviderProperty.builder() .drmSystems(List.of("drmSystems")) .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder() .presetSpeke20Audio("presetSpeke20Audio") .presetSpeke20Video("presetSpeke20Video") .build()) .resourceId("resourceId") .roleArn("roleArn") .url("url") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnOriginEndpoint.SpekeKeyProviderProperty
static final class
An implementation forCfnOriginEndpoint.SpekeKeyProviderProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The DRM solution provider you're using to protect your content during distribution.The encryption contract configuration associated with the SPEKE key provider.The unique identifier for the content.The ARN for the IAM role granted by the key provider that provides access to the key provider API.getUrl()
The URL of the SPEKE key provider.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDrmSystems
The DRM solution provider you're using to protect your content during distribution.- See Also:
-
getEncryptionContractConfiguration
The encryption contract configuration associated with the SPEKE key provider.- See Also:
-
getResourceId
The unique identifier for the content.The service sends this identifier to the key server to identify the current endpoint. How unique you make this identifier depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.
The following example shows a resource ID:
MovieNight20171126093045
- See Also:
-
getRoleArn
The ARN for the IAM role granted by the key provider that provides access to the key provider API.This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.
Valid format:
arn:aws:iam::{accountID}:role/{name}
. The following example shows a role ARN:arn:aws:iam::444455556666:role/SpekeAccess
- See Also:
-
getUrl
The URL of the SPEKE key provider.- See Also:
-
builder
-