# KeyProviderSettingsProperty

Struct · External

The configuration of key provider settings.

The parent of this entity is HlsGroupSettings.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `staticKeySettings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannel.StaticKeySettingsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnChannel.StaticKeySettingsProperty.html) — The configuration of static key settings.
