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_wafregional as interfaces_wafregional } from 'aws-cdk-lib/interfaces';
const regexPatternSetReference: interfaces_wafregional.RegexPatternSetReference = {
regexPatternSetId: 'regexPatternSetId',
};
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_wafregional as interfaces_wafregional
regex_pattern_set_reference = interfaces_wafregional.RegexPatternSetReference(
regex_pattern_set_id="regexPatternSetId"
)
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.regional.*;
RegexPatternSetReference regexPatternSetReference = RegexPatternSetReference.builder()
.regexPatternSetId("regexPatternSetId")
.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.WAFRegional;
var regexPatternSetReference = new RegexPatternSetReference {
RegexPatternSetId = "regexPatternSetId"
};
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{
RegexPatternSetId: jsii.String("regexPatternSetId"),
}
Properties
regexPatternSetIdstringregex_pattern_set_idstrregexPatternSetIdStringRegexPatternSetIdstringRegexPatternSetId*string required #The Id of the RegexPatternSet resource.