RegexPatternSet constructor
RegexPatternSet(
- String name, {
- RegexPatternSetArgs? args,
- CustomResourceOptions? options,
Creates a new RegexPatternSet.
name The Pulumi resource name.
args Arguments used to configure this RegexPatternSet. The set of arguments for RegexPatternSet.
options Resource options controlling this resource's behavior.
Implementation
RegexPatternSet(
String name, {
RegexPatternSetArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:waf/regexPatternSet:RegexPatternSet',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
this.name = registerOutput<String>('name');
regexPatternStrings = registerOutput<List<String>?>('regexPatternStrings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
}