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 DsCustomerGatewayArgs { /** * (Optional) One or more [name-value pairs][dcg-filters] to filter by. */ filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the gateway. */ id?: string | core.StringOut; /** * Map of key-value pairs assigned to the gateway. */ tags?: core.Map | core.MapOut; } export class DsCustomerGateway extends core.Data { /** * The ARN of the customer gateway. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). */ @core.attr(Number, { computed: true }) public bgpAsn!: number | core.NumberOut; /** * The Amazon Resource Name (ARN) for the customer gateway certificate. */ @core.attr(String, { computed: true }) public certificateArn!: string | core.StringOut; /** * A name for the customer gateway device. */ @core.attr(String, { computed: true }) public deviceName!: string | core.StringOut; /** * (Optional) One or more [name-value pairs][dcg-filters] to filter by. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the gateway. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * The IP address of the gateway's Internet-routable external interface. */ @core.attr(String, { computed: true }) public ipAddress!: string | core.StringOut; /** * Map of key-value pairs assigned to the gateway. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The type of customer gateway. The only type AWS supports at this time is "ipsec.1". */ @core.attr(String, { computed: true }) public type!: string | core.StringOut; constructor(name: string, args?: DsCustomerGatewayArgs) { super(name, "aws_customer_gateway", args); } public override getNamespace(): string { return "aws_vpn"; } }