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 DsEc2CoipPoolArgs { filter?: core.Array | core.ArrayOut; /** * (Optional) Local Gateway Route Table Id assigned to desired COIP Pool */ localGatewayRouteTableId?: string | core.StringOut; /** * (Optional) The id of the specific COIP Pool to retrieve. */ poolId?: string | core.StringOut; /** * (Optional) A mapping of tags, each pair of which must exactly match */ tags?: core.Map | core.MapOut; } export class DsEc2CoipPool extends core.Data { /** * ARN of the COIP pool */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Local Gateway Route Table Id assigned to desired COIP Pool */ @core.attr(String, { computed: true }) public localGatewayRouteTableId?: string | core.StringOut; /** * Set of CIDR blocks in pool */ @core.attr(String, { computed: true, kind: "array" }) public poolCidrs!: core.Array | core.ArrayOut; /** * (Optional) The id of the specific COIP Pool to retrieve. */ @core.attr(String, { computed: true }) public poolId?: string | core.StringOut; /** * (Optional) A mapping 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?: DsEc2CoipPoolArgs) { super(name, "aws_ec2_coip_pool", args); } public override getNamespace(): string { return "aws_outposts"; } }