Skip to content
v2.278.0

MatchPatternProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';

declare const all: any;
const matchPatternProperty: wafv2.CfnLoggingConfiguration.MatchPatternProperty = {
  all: all,
  includedPaths: ['includedPaths'],
};
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_wafv2 as wafv2

# all: Any

match_pattern_property = wafv2.CfnLoggingConfiguration.MatchPatternProperty(
    all=all,
    included_paths=["includedPaths"]
)
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.wafv2.*;

Object all;

MatchPatternProperty matchPatternProperty = MatchPatternProperty.builder()
        .all(all)
        .includedPaths(List.of("includedPaths"))
        .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.WAFv2;

var all;

var matchPatternProperty = new MatchPatternProperty {
    All = all,
    IncludedPaths = new [] { "includedPaths" }
};
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"

var all interface{}

matchPatternProperty := &MatchPatternProperty{
	All: all,
	IncludedPaths: []*string{
		jsii.String("includedPaths"),
	},
}

Properties ​

alloptionalanyalloptionalAnyalloptionalObjectAlloptionalobjectAlloptionalinterface{} #
includedPathsoptionalstring[]included_pathsoptionaltyping.List[str]includedPathsoptionalList<String>IncludedPathsoptionalstring[]IncludedPathsoptional*[]*string #