Skip to content
v2.277.0

QueryParameterMatchConfig Struct ​

Configuration for QueryParameterMatch.

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 queryParameterMatchConfig: appmesh.QueryParameterMatchConfig = {
  queryParameterMatch: {
    name: 'name',

    // the properties below are optional
    match: {
      exact: 'exact',
    },
  },
};
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

query_parameter_match_config = appmesh.QueryParameterMatchConfig(
    query_parameter_match=appmesh.CfnRoute.QueryParameterProperty(
        name="name",

        # the properties below are optional
        match=appmesh.CfnRoute.HttpQueryParameterMatchProperty(
            exact="exact"
        )
    )
)
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.*;

QueryParameterMatchConfig queryParameterMatchConfig = QueryParameterMatchConfig.builder()
        .queryParameterMatch(QueryParameterProperty.builder()
                .name("name")

                // the properties below are optional
                .match(HttpQueryParameterMatchProperty.builder()
                        .exact("exact")
                        .build())
                .build())
        .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 queryParameterMatchConfig = new QueryParameterMatchConfig {
    QueryParameterMatch = new QueryParameterProperty {
        Name = "name",

        // the properties below are optional
        Match = new HttpQueryParameterMatchProperty {
            Exact = "exact"
        }
    }
};
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"

queryParameterMatchConfig := &QueryParameterMatchConfig{
	QueryParameterMatch: &QueryParameterProperty{
		Name: jsii.String("name"),

		// the properties below are optional
		Match: &HttpQueryParameterMatchProperty{
			Exact: jsii.String("exact"),
		},
	},
}

Properties ​

queryParameterMatchCfnRoute.QueryParameterPropertyquery_parameter_matchQueryParameterPropertyqueryParameterMatchQueryParameterPropertyQueryParameterMatchQueryParameterPropertyQueryParameterMatchQueryParameterProperty required #
Route CFN configuration for route query parameter match.