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

Represents a numeric filter expression segment — either a single value or a range.

Use with `ManifestFilter.numericCombo()` to build filters that combine
ranges and individual values (e.g. `video_height:240-360,720-1080,1440`).

Obtainable from: NumericExpression.range, NumericExpression.value
Used as argument in: [ManifestFilter.numericCombo](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediapackagev2-alpha.ManifestFilter.html#numericcombo)

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

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackagev2_alpha from '@aws-cdk/aws-mediapackagev2-alpha';
const numericExpression = mediapackagev2_alpha.NumericExpression.range(123, 123);
```

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_mediapackagev2_alpha as mediapackagev2_alpha

numeric_expression = mediapackagev2_alpha.NumericExpression.range(123, 123)
```

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

NumericExpression numericExpression = NumericExpression.range(123, 123);
```

C# / .NET:

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

var numericExpression = NumericExpression.Range(123, 123);
```

Golang:

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

numericExpression := mediapackagev2_alpha.NumericExpression_Range(jsii.Number(123), jsii.Number(123))
```

## Methods

- `range(start: number, end: number): NumericExpression // chainable` (static) — An inclusive numeric range.

- `value(v: number): NumericExpression // chainable` (static) — A single numeric value.
