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

Properties for creating a new Stream Key.

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

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/stream-key.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-ivs-alpha/lib/stream-key.ts#L23)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ivs_alpha from '@aws-cdk/aws-ivs-alpha';

declare const channel: ivs_alpha.Channel;
const streamKeyProps: ivs_alpha.StreamKeyProps = {
  channel: channel,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ivs_alpha as ivs_alpha

# channel: ivs_alpha.Channel

stream_key_props = ivs_alpha.StreamKeyProps(
    channel=channel
)
```

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.ivs.alpha.*;

Channel channel;

StreamKeyProps streamKeyProps = StreamKeyProps.builder()
        .channel(channel)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.IVS.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Ivs.Alpha;

Channel channel;

var streamKeyProps = new StreamKeyProps {
    Channel = channel
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkivsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import ivs_alpha "github.com/aws/aws-cdk-go/awscdkivsalpha"

var channel Channel

streamKeyProps := &StreamKeyProps{
	Channel: channel,
}
```

## Properties

- `channel`: [IChannel](/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.IChannel.html) (required) — Channel ARN for the stream.
