QueryStringConfigProperty Struct
Information about a query string condition.
The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const queryStringConfigProperty: elbv2.CfnListenerRule.QueryStringConfigProperty = {
values: [{
key: 'key',
value: 'value',
}],
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticloadbalancingv2 as elbv2
query_string_config_property = elbv2.CfnListenerRule.QueryStringConfigProperty(
values=[elbv2.CfnListenerRule.QueryStringKeyValueProperty(
key="key",
value="value"
)]
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
QueryStringConfigProperty queryStringConfigProperty = QueryStringConfigProperty.builder()
.values(List.of(QueryStringKeyValueProperty.builder()
.key("key")
.value("value")
.build()))
.build();
// 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.ElasticLoadBalancingV2;
var queryStringConfigProperty = new QueryStringConfigProperty {
Values = new [] { new QueryStringKeyValueProperty {
Key = "key",
Value = "value"
} }
};
// 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"
queryStringConfigProperty := &QueryStringConfigProperty{
Values: []interface{}{
&QueryStringKeyValueProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
valuesoptionalIResolvable | IResolvable | CfnListenerRule.QueryStringKeyValueProperty[]valuesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, QueryStringKeyValueProperty]]]valuesoptionalIResolvableValuesoptionalIResolvableValuesoptionalinterface{}#notes
The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '' character.
If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.