import * as core from "@terrascript/core"; export interface DsV2IpSetArgs { /** * (Required) The name of the WAFv2 IP Set. */ 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 DsV2IpSet extends core.Data { /** * An array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Int * er-Domain Routing (CIDR) notation. */ @core.attr(String, { computed: true, kind: "array" }) public addresses!: core.Array | core.ArrayOut; /** * The Amazon Resource Name (ARN) of the entity. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The description of the set that helps with identification. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The unique identifier for the set. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The IP address version of the set. */ @core.attr(String, { computed: true }) public ipAddressVersion!: string | core.StringOut; /** * (Required) The name of the WAFv2 IP Set. */ @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?: DsV2IpSetArgs) { super(name, "aws_wafv2_ip_set", args); } public override getNamespace(): string { return "aws_waf"; } }