NumericExpression
- class aws_cdk.aws_mediapackagev2_alpha.NumericExpression(_expression, _values)
Bases:
object(experimental) 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).- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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)
- Parameters:
_expression (
str)_values (
Sequence[Union[int,float]])
- Stability:
experimental
Static Methods
- classmethod range(start, end)
(experimental) An inclusive numeric range.
- Parameters:
start (
Union[int,float])end (
Union[int,float])
- Stability:
experimental
- Return type:
- classmethod value(v)
(experimental) A single numeric value.
- Parameters:
v (
Union[int,float])- Stability:
experimental
- Return type: