> **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.
# RtmpCacheFullBehavior

RTMP cache full behavior.

Obtainable from: RtmpCacheFullBehavior.DISCONNECT_IMMEDIATELY, RtmpCacheFullBehavior.WAIT_FOR_SERVER, RtmpCacheFullBehavior.of

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

## 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';
const rtmpCacheFullBehavior = medialive_alpha.RtmpCacheFullBehavior.of('value');
```

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

rtmp_cache_full_behavior = medialive_alpha.RtmpCacheFullBehavior.of("value")
```

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

RtmpCacheFullBehavior rtmpCacheFullBehavior = RtmpCacheFullBehavior.of("value");
```

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;

var rtmpCacheFullBehavior = RtmpCacheFullBehavior.Of("value");
```

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"

rtmpCacheFullBehavior := medialive_alpha.RtmpCacheFullBehavior_Of(jsii.String("value"))
```

## Properties

- `DISCONNECT_IMMEDIATELY`: [RtmpCacheFullBehavior](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.RtmpCacheFullBehavior.html) (static) — Disconnect immediately.

- `value`: string — The underlying string value passed to CloudFormation.

- `WAIT_FOR_SERVER`: [RtmpCacheFullBehavior](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.RtmpCacheFullBehavior.html) (static) — Wait for server.

## Methods

- `of(value: string): RtmpCacheFullBehavior // chainable` (static) — A value not yet modelled by AWS CDK.
