import * as core from "@terrascript/core"; export interface GeoMatchConstraintArgs extends core.SchemaArgs { type: string | core.StringOut; value: string | core.StringOut; } export class GeoMatchConstraint extends core.Schema { @core.attr(String) public type!: string | core.StringOut; @core.attr(String) public value!: string | core.StringOut; } export interface GeoMatchSetArgs extends core.ResourceArgs { /** * (Optional) The GeoMatchConstraint objects which contain the country that you want AWS WAF to search * for. */ geoMatchConstraint?: | core.Array | core.ArrayOut; /** * (Required) The name or description of the GeoMatchSet. */ name: string | core.StringOut; } export class GeoMatchSet extends core.Resource { /** * Amazon Resource Name (ARN) */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The GeoMatchConstraint objects which contain the country that you want AWS WAF to search * for. */ @core.attr(GeoMatchConstraint, { kind: "array" }) public geoMatchConstraint?: | core.Array | core.ArrayOut; /** * The ID of the WAF GeoMatchSet. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name or description of the GeoMatchSet. */ @core.attr(String) public name!: string | core.StringOut; constructor(name: string, args?: GeoMatchSetArgs) { super(name, "aws_waf_geo_match_set", args); } public override getNamespace(): string { return "aws_waf"; } }