PathPatternConfigProperty Struct
Information about a path pattern condition.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 = {
regexValues: ['regexValues'],
values: ['values'],
};
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_elasticloadbalancingv2 as elbv2
path_pattern_config_property = elbv2.CfnListenerRule.PathPatternConfigProperty(
regex_values=["regexValues"],
values=["values"]
)
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.elasticloadbalancingv2.*;
PathPatternConfigProperty pathPatternConfigProperty = PathPatternConfigProperty.builder()
.regexValues(List.of("regexValues"))
.values(List.of("values"))
.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.ElasticLoadBalancingV2;
var pathPatternConfigProperty = new PathPatternConfigProperty {
RegexValues = new [] { "regexValues" },
Values = new [] { "values" }
};
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"
pathPatternConfigProperty := &PathPatternConfigProperty{
RegexValues: []*string{
jsii.String("regexValues"),
},
Values: []*string{
jsii.String("values"),
},
}
Properties
regexValuesoptionalstring[]regex_valuesoptionaltyping.List[str]regexValuesoptionalList<String>RegexValuesoptionalstring[]RegexValuesoptional*[]*string #valuesoptionalstring[]valuesoptionaltyping.List[str]valuesoptionalList<String>Valuesoptionalstring[]Valuesoptional*[]*string #The path patterns to compare against the request URL.
notes
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.