RegexPatternSetReference Struct
A reference to a RegexPatternSet resource.
| 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_wafv2 as interfaces_wafv2 } from 'aws-cdk-lib/interfaces';
const regexPatternSetReference: interfaces_wafv2.RegexPatternSetReference = {
regexPatternSetArn: 'regexPatternSetArn',
regexPatternSetId: 'regexPatternSetId',
regexPatternSetName: 'regexPatternSetName',
scope: 'scope',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_wafv2 as interfaces_wafv2
regex_pattern_set_reference = interfaces_wafv2.RegexPatternSetReference(
regex_pattern_set_arn="regexPatternSetArn",
regex_pattern_set_id="regexPatternSetId",
regex_pattern_set_name="regexPatternSetName",
scope="scope"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.wafv2.*;
RegexPatternSetReference regexPatternSetReference = RegexPatternSetReference.builder()
.regexPatternSetArn("regexPatternSetArn")
.regexPatternSetId("regexPatternSetId")
.regexPatternSetName("regexPatternSetName")
.scope("scope")
.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.Interfaces.WAFv2;
var regexPatternSetReference = new RegexPatternSetReference {
RegexPatternSetArn = "regexPatternSetArn",
RegexPatternSetId = "regexPatternSetId",
RegexPatternSetName = "regexPatternSetName",
Scope = "scope"
};
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"
regexPatternSetReference := &RegexPatternSetReference{
RegexPatternSetArn: jsii.String("regexPatternSetArn"),
RegexPatternSetId: jsii.String("regexPatternSetId"),
RegexPatternSetName: jsii.String("regexPatternSetName"),
Scope: jsii.String("scope"),
}
Properties
regexPatternSetArnstringregex_pattern_set_arnstrregexPatternSetArnStringRegexPatternSetArnstringRegexPatternSetArn*string required #The ARN of the RegexPatternSet resource.
regexPatternSetIdstringregex_pattern_set_idstrregexPatternSetIdStringRegexPatternSetIdstringRegexPatternSetId*string required #The Id of the RegexPatternSet resource.
regexPatternSetNamestringregex_pattern_set_namestrregexPatternSetNameStringRegexPatternSetNamestringRegexPatternSetName*string required #The Name of the RegexPatternSet resource.
The Scope of the RegexPatternSet resource.