Skip to content
v2.278.0

KeyProviderSettingsProperty Struct ​

The configuration of key provider settings.

The parent of this entity is HlsGroupSettings.

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 keyProviderSettingsProperty: medialive.CfnChannel.KeyProviderSettingsProperty = {
  staticKeySettings: {
    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

key_provider_settings_property = medialive.CfnChannel.KeyProviderSettingsProperty(
    static_key_settings=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.*;

KeyProviderSettingsProperty keyProviderSettingsProperty = KeyProviderSettingsProperty.builder()
        .staticKeySettings(StaticKeySettingsProperty.builder()
                .keyProviderServer(InputLocationProperty.builder()
                        .passwordParam("passwordParam")
                        .uri("uri")
                        .username("username")
                        .build())
                .staticKeyValue("staticKeyValue")
                .build())
        .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 keyProviderSettingsProperty = new KeyProviderSettingsProperty {
    StaticKeySettings = 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"

keyProviderSettingsProperty := &KeyProviderSettingsProperty{
	StaticKeySettings: &StaticKeySettingsProperty{
		KeyProviderServer: &InputLocationProperty{
			PasswordParam: jsii.String("passwordParam"),
			Uri: jsii.String("uri"),
			Username: jsii.String("username"),
		},
		StaticKeyValue: jsii.String("staticKeyValue"),
	},
}

Properties ​

staticKeySettingsoptionalIResolvable | CfnChannel.StaticKeySettingsPropertystatic_key_settingsoptionaltyping.Union[IResolvable, StaticKeySettingsProperty]staticKeySettingsoptionalIResolvableStaticKeySettingsoptionalIResolvableStaticKeySettingsoptionalinterface{} #
The configuration of static key settings.