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