@Stability(value=Stable)
public static interface CfnOriginEndpoint.SpekeKeyProviderProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
SpekeKeyProviderProperty spekeKeyProviderProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnOriginEndpoint.SpekeKeyProviderProperty.Builder
A builder for
CfnOriginEndpoint.SpekeKeyProviderProperty |
static class |
CfnOriginEndpoint.SpekeKeyProviderProperty.Jsii$Proxy
An implementation for
CfnOriginEndpoint.SpekeKeyProviderProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnOriginEndpoint.SpekeKeyProviderProperty.Builder |
builder() |
default String |
getCertificateArn()
The Amazon Resource Name (ARN) for the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint.
|
default Object |
getEncryptionContractConfiguration()
`CfnOriginEndpoint.SpekeKeyProviderProperty.EncryptionContractConfiguration`.
|
String |
getResourceId()
Unique identifier for this endpoint, as it is configured in the key provider service.
|
String |
getRoleArn()
The ARN for the IAM role that's granted by the key provider to provide access to the key provider API.
|
List<String> |
getSystemIds()
List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.
|
String |
getUrl()
URL for the key provider’s key retrieval API endpoint.
|
@Stability(value=Stable) @NotNull String getResourceId()
@Stability(value=Stable) @NotNull String getRoleArn()
This role must have a trust policy that allows AWS Elemental MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Valid format: arn:aws:iam::{accountID}:role/{name}
@Stability(value=Stable) @NotNull List<String> getSystemIds()
@Stability(value=Stable) @NotNull String getUrl()
Must start with https://.
@Stability(value=Stable) @Nullable default String getCertificateArn()
For this feature to work, your DRM key provider must support content key encryption.
@Stability(value=Stable) @Nullable default Object getEncryptionContractConfiguration()
@Stability(value=Stable) static CfnOriginEndpoint.SpekeKeyProviderProperty.Builder builder()
Copyright © 2022. All rights reserved.