> **Experimental**
>
> `@aws-cdk/aws-medialive-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.
# LinkedChannelSettings

Linked channel settings for primary/follower channel configurations.

Use the static factory methods to create.

Obtainable from: LinkedChannelSettings.follower, LinkedChannelSettings.primary

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/channel.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/channel.ts#L855)

## Example

TypeScript:

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

declare const channel: medialive_alpha.Channel;
const linkedChannelSettings = medialive_alpha.LinkedChannelSettings.follower(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_medialive_alpha as medialive_alpha

# channel: medialive_alpha.Channel

linked_channel_settings = medialive_alpha.LinkedChannelSettings.follower(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.medialive.alpha.*;

Channel channel;

LinkedChannelSettings linkedChannelSettings = LinkedChannelSettings.follower(channel);
```

C# / .NET:

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

Channel channel;

var linkedChannelSettings = LinkedChannelSettings.Follower(channel);
```

Golang:

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

var channel Channel

linkedChannelSettings := medialive_alpha.LinkedChannelSettings_Follower(channel)
```

## Initializer

TypeScript:

```ts
new LinkedChannelSettings()
```

Python:

```python
LinkedChannelSettings()
```

Java:

```java
new LinkedChannelSettings()
```

C# / .NET:

```csharp
new LinkedChannelSettings()
```

Golang:

```go
NewLinkedChannelSettings()
```

## Methods

- `follower(primaryChannel: IChannel): LinkedChannelSettings // chainable` (static) — Configure this channel as a follower of a primary channel.

  **Parameters**

  - `primaryChannel` — The primary channel this channel follows.

- `primary(): LinkedChannelSettings // chainable` (static) — Configure this channel as a primary in a linked channel pair.
