aws-cdk-lib.aws_elasticloadbalancingv2.CfnListenerRule.PathPatternConfigProperty

interface PathPatternConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.ElasticLoadBalancingV2.CfnListenerRule.PathPatternConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#CfnListenerRule_PathPatternConfigProperty
Javasoftware.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule.PathPatternConfigProperty
Pythonaws_cdk.aws_elasticloadbalancingv2.CfnListenerRule.PathPatternConfigProperty
TypeScript aws-cdk-lib » aws_elasticloadbalancingv2 » CfnListenerRule » PathPatternConfigProperty

Information about a path pattern condition.

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 pathPatternConfigProperty: elbv2.CfnListenerRule.PathPatternConfigProperty = {
  values: ['values'],
};

Properties

NameTypeDescription
values?string[]The path patterns to compare against the request URL.

values?

Type: string[] (optional)

The path patterns to compare against the request URL.

The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.