Skip to content
v2.278.0

MatchRangeProperty Struct ​

An object that represents the range of values to match on.

The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const matchRangeProperty: appmesh.CfnRoute.MatchRangeProperty = {
  end: 123,
  start: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh

match_range_property = appmesh.CfnRoute.MatchRangeProperty(
    end=123,
    start=123
)
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.appmesh.*;

MatchRangeProperty matchRangeProperty = MatchRangeProperty.builder()
        .end(123)
        .start(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;

var matchRangeProperty = new MatchRangeProperty {
    End = 123,
    Start = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

matchRangeProperty := &MatchRangeProperty{
	End: jsii.Number(123),
	Start: jsii.Number(123),
}

Properties ​

endnumberendint | floatendNumberEnddoubleEnd*float64 required #
The end of the range.
startnumberstartint | floatstartNumberStartdoubleStart*float64 required #
The start of the range.