import * as core from "@terrascript/core"; export interface DsV2RuleGroupArgs { /** * (Required) The name of the WAFv2 Rule Group. */ 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 DsV2RuleGroup 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 rule group that helps with identification. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The unique identifier of the rule group. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the WAFv2 Rule Group. */ @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?: DsV2RuleGroupArgs) { super(name, "aws_wafv2_rule_group", args); } public override getNamespace(): string { return "aws_waf"; } }