> **Experimental**
>
> `@aws-cdk/aws-ivs-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# PlaybackKeyPairProps

Properties for creating a new Playback Key Pair.

Used as props by: [PlaybackKeyPair](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.PlaybackKeyPair.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/playback-key-pair.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-ivs-alpha/lib/playback-key-pair.ts#L31)

## Example

TypeScript:

```ts
const keyPair = new ivs.PlaybackKeyPair(this, 'PlaybackKeyPair', {
  publicKeyMaterial: myPublicKeyPemString,
});
```

Python:

```python
key_pair = ivs.PlaybackKeyPair(self, "PlaybackKeyPair",
    public_key_material=my_public_key_pem_string
)
```

Java:

```java
PlaybackKeyPair keyPair = PlaybackKeyPair.Builder.create(this, "PlaybackKeyPair")
        .publicKeyMaterial(myPublicKeyPemString)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.IVS.Alpha
var keyPair = new PlaybackKeyPair(this, "PlaybackKeyPair", new PlaybackKeyPairProps {
    PublicKeyMaterial = myPublicKeyPemString
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkivsalpha/v2
keyPair := ivs.NewPlaybackKeyPair(this, jsii.String("PlaybackKeyPair"), &PlaybackKeyPairProps{
	PublicKeyMaterial: myPublicKeyPemString,
})
```

## Properties

- `playbackKeyPairName`: string — An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource.

  **Default:** Automatically generated name

  The value does not need to be unique.

- `publicKeyMaterial`: string (required) — The public portion of a customer-generated key pair.
