import * as core from "@terrascript/core"; export interface FieldToMatchArgs extends core.SchemaArgs { data?: string | core.StringOut; type: string | core.StringOut; } export class FieldToMatch extends core.Schema { @core.attr(String) public data?: string | core.StringOut; @core.attr(String) public type!: string | core.StringOut; } export interface SqlInjectionMatchTupleArgs extends core.SchemaArgs { fieldToMatch: FieldToMatch; textTransformation: string | core.StringOut; } export class SqlInjectionMatchTuple extends core.Schema { @core.attr(FieldToMatch) public fieldToMatch!: FieldToMatch; @core.attr(String) public textTransformation!: string | core.StringOut; } export interface SqlInjectionMatchSetArgs extends core.ResourceArgs { /** * (Required) The name or description of the SizeConstraintSet. */ name: string | core.StringOut; /** * (Optional) The parts of web requests that you want AWS WAF to inspect for malicious SQL code and, if * you want AWS WAF to inspect a header, the name of the header. */ sqlInjectionMatchTuple?: | core.Array | core.ArrayOut; } export class SqlInjectionMatchSet extends core.Resource { /** * The ID of the WAF SqlInjectionMatchSet. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name or description of the SizeConstraintSet. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) The parts of web requests that you want AWS WAF to inspect for malicious SQL code and, if * you want AWS WAF to inspect a header, the name of the header. */ @core.attr(SqlInjectionMatchTuple, { kind: "array" }) public sqlInjectionMatchTuple?: | core.Array | core.ArrayOut; constructor(name: string, args?: SqlInjectionMatchSetArgs) { super(name, "aws_wafregional_sql_injection_match_set", args); } public override getNamespace(): string { return "aws_wafregional"; } }