import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export class Filter extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String, { kind: "array" }) public values!: core.Array | core.ArrayOut; } export interface DsGatewayArgs { /** * (Optional) The Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to ret * rieve. */ amazonSideAsn?: string | core.StringOut; /** * (Optional) The ID of a VPC attached to the specific VPN Gateway to retrieve. */ attachedVpcId?: string | core.StringOut; /** * (Optional) The Availability Zone of the specific VPN Gateway to retrieve. */ availabilityZone?: string | core.StringOut; /** * (Optional) Custom filter block as described below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the specific VPN Gateway to retrieve. */ id?: string | core.StringOut; /** * (Optional) The state of the specific VPN Gateway to retrieve. */ state?: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match */ tags?: core.Map | core.MapOut; } export class DsGateway extends core.Data { /** * (Optional) The Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to ret * rieve. */ @core.attr(String, { computed: true }) public amazonSideAsn?: string | core.StringOut; @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The ID of a VPC attached to the specific VPN Gateway to retrieve. */ @core.attr(String, { computed: true }) public attachedVpcId?: string | core.StringOut; /** * (Optional) The Availability Zone of the specific VPN Gateway to retrieve. */ @core.attr(String, { computed: true }) public availabilityZone?: string | core.StringOut; /** * (Optional) Custom filter block as described below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the specific VPN Gateway to retrieve. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * (Optional) The state of the specific VPN Gateway to retrieve. */ @core.attr(String, { computed: true }) public state?: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsGatewayArgs) { super(name, "aws_vpn_gateway", args); } public override getNamespace(): string { return "aws_vpn"; } }