import * as core from "@terrascript/core"; export interface DsV2WebAclArgs { /** * (Required) The name of the WAFv2 Web ACL. */ name: string | core.StringOut; /** * (Required) Specifies whether this is for an AWS CloudFront distribution or for a regional applicatio * n. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the r * egion `us-east-1` (N. Virginia) on the AWS provider. */ scope: string | core.StringOut; } export class DsV2WebAcl extends core.Data { /** * The Amazon Resource Name (ARN) of the entity. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The description of the WebACL that helps with identification. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The unique identifier of the WebACL. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the WAFv2 Web ACL. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) Specifies whether this is for an AWS CloudFront distribution or for a regional applicatio * n. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the r * egion `us-east-1` (N. Virginia) on the AWS provider. */ @core.attr(String) public scope!: string | core.StringOut; constructor(name: string, args?: DsV2WebAclArgs) { super(name, "aws_wafv2_web_acl", args); } public override getNamespace(): string { return "aws_waf"; } }