Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
HlsStaticKeyProps Struct
Properties for HLS static key encryption.
| Stability | Experimental |
|---|---|
| Source | lib/output-group.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
import * as cdk from 'aws-cdk-lib';
declare const secretValue: cdk.SecretValue;
const hlsStaticKeyProps: medialive_alpha.HlsStaticKeyProps = {
keyProviderServerUrl: 'keyProviderServerUrl',
staticKeyValue: secretValue,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
import aws_cdk as cdk
# secret_value: cdk.SecretValue
hls_static_key_props = medialive_alpha.HlsStaticKeyProps(
key_provider_server_url="keyProviderServerUrl",
static_key_value=secret_value
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
import software.amazon.awscdk.*;
SecretValue secretValue;
HlsStaticKeyProps hlsStaticKeyProps = HlsStaticKeyProps.builder()
.keyProviderServerUrl("keyProviderServerUrl")
.staticKeyValue(secretValue)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
using Amazon.CDK;
SecretValue secretValue;
var hlsStaticKeyProps = new HlsStaticKeyProps {
KeyProviderServerUrl = "keyProviderServerUrl",
StaticKeyValue = secretValue
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"
var secretValue SecretValue
hlsStaticKeyProps := &HlsStaticKeyProps{
KeyProviderServerUrl: jsii.String("keyProviderServerUrl"),
StaticKeyValue: secretValue,
}
Properties
keyProviderServerUrlstringkey_provider_server_urlstrkeyProviderServerUrlStringKeyProviderServerUrlstringKeyProviderServerUrl*string required #The URL of the license server that serves the static key.
Required — MediaLive rejects this without a server URL, even though the underlying CloudFormation property is typed as optional.
staticKeyValueSecretValuestatic_key_valueSecretValuestaticKeyValueSecretValueStaticKeyValueSecretValueStaticKeyValueSecretValue required #The static key value as a 32-character hexadecimal string.