import * as core from "@terrascript/core"; export interface WebAclAssociationArgs extends core.ResourceArgs { /** * (Required) ARN of the resource to associate with. For example, an Application Load Balancer or API G * ateway Stage. */ resourceArn: string | core.StringOut; /** * (Required) The ID of the WAF Regional WebACL to create an association. */ webAclId: string | core.StringOut; } export class WebAclAssociation extends core.Resource { /** * The ID of the association */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) ARN of the resource to associate with. For example, an Application Load Balancer or API G * ateway Stage. */ @core.attr(String) public resourceArn!: string | core.StringOut; /** * (Required) The ID of the WAF Regional WebACL to create an association. */ @core.attr(String) public webAclId!: string | core.StringOut; constructor(name: string, args?: WebAclAssociationArgs) { super(name, "aws_wafregional_web_acl_association", args); } public override getNamespace(): string { return "aws_wafregional"; } }