SqlInjectionMatchSet constructor

SqlInjectionMatchSet(
  1. String name, {
  2. SqlInjectionMatchSetArgs? args,
  3. 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>())); });
}