Class TsEncryption
(experimental) Encryption configuration for TS segments.
Namespace: Amazon.CDK.AWS.MediaPackageV2.Alpha
Assembly: Amazon.CDK.AWS.MediaPackageV2.Alpha.dll
Syntax (csharp)
public class TsEncryption : EncryptionConfiguration
Syntax (vb)
Public Class TsEncryption Inherits EncryptionConfiguration
Remarks
Use TsEncryption.speke() to create an instance.
Stability: Experimental
ExampleMetadata: infused
Examples
Channel channel;
IRole spekeRole;
new OriginEndpoint(this, "TsEndpoint", new OriginEndpointProps {
Channel = channel,
Segment = Segment.Ts(new TsSegmentProps {
Encryption = TsEncryption.Speke(new TsSpekeEncryptionProps {
Method = TsEncryptionMethod.SAMPLE_AES,
ResourceId = "my-content-id",
Url = "https://example.com/speke",
Role = spekeRole
})
}),
Manifests = new [] { Manifest.Hls(new HlsManifestConfiguration { ManifestName = "index" }) }
});
Synopsis
Methods
| Speke(ITsSpekeEncryptionProps) | (experimental) Create a SPEKE-based encryption configuration for TS segments. |
Methods
Speke(ITsSpekeEncryptionProps)
(experimental) Create a SPEKE-based encryption configuration for TS segments.
public static TsEncryption Speke(ITsSpekeEncryptionProps props)
Parameters
- props ITsSpekeEncryptionProps
Returns
Remarks
Stability: Experimental