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 DsEc2LocalGatewayVirtualInterfaceArgs { /** * (Optional) One or more configuration blocks containing name-values filters. See the [EC2 API Referen * ce](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaces * .html) for supported filters. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) Identifier of EC2 Local Gateway Virtual Interface. */ id?: string | core.StringOut; /** * (Optional) Key-value map of resource tags, each pair of which must exactly match a pair on the desir * ed local gateway route table. */ tags?: core.Map | core.MapOut; } export class DsEc2LocalGatewayVirtualInterface extends core.Data { /** * (Optional) One or more configuration blocks containing name-values filters. See the [EC2 API Referen * ce](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaces * .html) for supported filters. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * (Optional) Identifier of EC2 Local Gateway Virtual Interface. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * Local address. */ @core.attr(String, { computed: true }) public localAddress!: string | core.StringOut; /** * Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway. */ @core.attr(Number, { computed: true }) public localBgpAsn!: number | core.NumberOut; /** * Identifier of the EC2 Local Gateway. */ @core.attr(String, { computed: true }) public localGatewayId!: string | core.StringOut; @core.attr(String, { computed: true, kind: "array" }) public localGatewayVirtualInterfaceIds!: | core.Array | core.ArrayOut; /** * Peer address. */ @core.attr(String, { computed: true }) public peerAddress!: string | core.StringOut; /** * Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer. */ @core.attr(Number, { computed: true }) public peerBgpAsn!: number | core.NumberOut; /** * (Optional) Key-value map of resource tags, each pair of which must exactly match a pair on the desir * ed local gateway route table. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Virtual Local Area Network. */ @core.attr(Number, { computed: true }) public vlan!: number | core.NumberOut; constructor(name: string, args?: DsEc2LocalGatewayVirtualInterfaceArgs) { super(name, "aws_ec2_local_gateway_virtual_interface", args); } public override getNamespace(): string { return "aws_outposts"; } }