import * as core from "@terrascript/core"; export interface DsIpRangesArgs { /** * (Optional) Filter IP ranges by regions (or include all regions, if */ regions?: core.Array | core.ArrayOut; /** * (Required) Filter IP ranges by services. Valid items are `amazon` */ services: core.Array | core.ArrayOut; /** * (Optional) Custom URL for source JSON file. Syntax must match [AWS IP Address Ranges documentation][ * 1]. Defaults to `https://ip-ranges.amazonaws.com/ip-ranges.json`. */ url?: string | core.StringOut; } export class DsIpRanges extends core.Data { /** * The lexically ordered list of CIDR blocks. */ @core.attr(String, { computed: true, kind: "array" }) public cidrBlocks!: core.Array | core.ArrayOut; /** * The publication time of the IP ranges (e.g., `2016-08-03-23-46-05`). */ @core.attr(String, { computed: true }) public createDate!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The lexically ordered list of IPv6 CIDR blocks. */ @core.attr(String, { computed: true, kind: "array" }) public ipv6CidrBlocks!: core.Array | core.ArrayOut; /** * (Optional) Filter IP ranges by regions (or include all regions, if */ @core.attr(String, { kind: "array" }) public regions?: core.Array | core.ArrayOut; /** * (Required) Filter IP ranges by services. Valid items are `amazon` */ @core.attr(String, { kind: "array" }) public services!: core.Array | core.ArrayOut; /** * The publication time of the IP ranges, in Unix epoch time format */ @core.attr(Number, { computed: true }) public syncToken!: number | core.NumberOut; /** * (Optional) Custom URL for source JSON file. Syntax must match [AWS IP Address Ranges documentation][ * 1]. Defaults to `https://ip-ranges.amazonaws.com/ip-ranges.json`. */ @core.attr(String) public url?: string | core.StringOut; constructor(name: string, args?: DsIpRangesArgs) { super(name, "aws_ip_ranges", args); } public override getNamespace(): string { return "aws_meta_data_sources"; } }