import * as core from "@terrascript/core"; export interface V2WebAclAssociationArgs extends core.ResourceArgs { /** * (Required) The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must b * e an ARN of an Application Load Balancer or an Amazon API Gateway stage. */ resourceArn: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resourc * e. */ webAclArn: string | core.StringOut; } export class V2WebAclAssociation extends core.Resource { @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the resource to associate with the web ACL. This must b * e an ARN of an Application Load Balancer or an Amazon API Gateway stage. */ @core.attr(String) public resourceArn!: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resourc * e. */ @core.attr(String) public webAclArn!: string | core.StringOut; constructor(name: string, args?: V2WebAclAssociationArgs) { super(name, "aws_wafv2_web_acl_association", args); } public override getNamespace(): string { return "aws_waf"; } }