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