public static interface CfnOriginEndpoint.SpekeKeyProviderProperty
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 java.lang.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 java.lang.Object |
getEncryptionContractConfiguration()
`CfnOriginEndpoint.SpekeKeyProviderProperty.EncryptionContractConfiguration`.
|
java.lang.String |
getResourceId()
Unique identifier for this endpoint, as it is configured in the key provider service.
|
java.lang.String |
getRoleArn()
The ARN for the IAM role that's granted by the key provider to provide access to the key provider API.
|
java.util.List<java.lang.String> |
getSystemIds()
List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.
|
java.lang.String |
getUrl()
URL for the key provider’s key retrieval API endpoint.
|
java.lang.String getResourceId()
java.lang.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}
java.util.List<java.lang.String> getSystemIds()
java.lang.String getUrl()
Must start with https://.
default java.lang.String getCertificateArn()
For this feature to work, your DRM key provider must support content key encryption.
default java.lang.Object getEncryptionContractConfiguration()
static CfnOriginEndpoint.SpekeKeyProviderProperty.Builder builder()