StaticKeySettingsProperty Struct
The static key settings.
The parent of this entity is KeyProviderSettings.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const staticKeySettingsProperty: medialive.CfnChannel.StaticKeySettingsProperty = {
keyProviderServer: {
passwordParam: 'passwordParam',
uri: 'uri',
username: 'username',
},
staticKeyValue: 'staticKeyValue',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive
static_key_settings_property = medialive.CfnChannel.StaticKeySettingsProperty(
key_provider_server=medialive.CfnChannel.InputLocationProperty(
password_param="passwordParam",
uri="uri",
username="username"
),
static_key_value="staticKeyValue"
)
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.*;
StaticKeySettingsProperty staticKeySettingsProperty = StaticKeySettingsProperty.builder()
.keyProviderServer(InputLocationProperty.builder()
.passwordParam("passwordParam")
.uri("uri")
.username("username")
.build())
.staticKeyValue("staticKeyValue")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var staticKeySettingsProperty = new StaticKeySettingsProperty {
KeyProviderServer = new InputLocationProperty {
PasswordParam = "passwordParam",
Uri = "uri",
Username = "username"
},
StaticKeyValue = "staticKeyValue"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
staticKeySettingsProperty := &StaticKeySettingsProperty{
KeyProviderServer: &InputLocationProperty{
PasswordParam: jsii.String("passwordParam"),
Uri: jsii.String("uri"),
Username: jsii.String("username"),
},
StaticKeyValue: jsii.String("staticKeyValue"),
}
Properties
keyProviderServeroptionalIResolvable | CfnChannel.InputLocationPropertykey_provider_serveroptionaltyping.Union[IResolvable, InputLocationProperty]keyProviderServeroptionalIResolvableKeyProviderServeroptionalIResolvableKeyProviderServeroptionalinterface{} #The URL of the license server that is used for protecting content.
staticKeyValueoptionalstringstatic_key_valueoptionalstrstaticKeyValueoptionalStringStaticKeyValueoptionalstringStaticKeyValueoptional*string #The static key value as a 32 character hexadecimal string.