import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieve information about a Direct Connect Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.directconnect.getConnection({ * name: "tf-dx-connection", * }); * ``` */ export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConnection. */ export interface GetConnectionArgs { /** * Name of the connection to retrieve. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Map of tags for the resource. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getConnection. */ export interface GetConnectionResult { /** * ARN of the connection. */ readonly arn: string; /** * Direct Connect endpoint on which the physical connection terminates. */ readonly awsDevice: string; /** * Bandwidth of the connection. */ readonly bandwidth: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * AWS Direct Connect location where the connection is located. */ readonly location: string; readonly name: string; /** * ID of the AWS account that owns the connection. */ readonly ownerAccountId: string; /** * The name of the AWS Direct Connect service provider associated with the connection. */ readonly partnerName: string; /** * The total number of inbound IPv4 route prefixes that can be allocated across the virtual interfaces on the connection. */ readonly prefixPoolSizeIpv4: number; /** * The total number of inbound IPv6 route prefixes that can be allocated across the virtual interfaces on the connection. */ readonly prefixPoolSizeIpv6: number; /** * The number of inbound IPv4 route prefixes in the connection prefix pool not yet allocated to a virtual interface. */ readonly prefixPoolUnallocatedCountIpv4: number; /** * The number of inbound IPv6 route prefixes in the connection prefix pool not yet allocated to a virtual interface. */ readonly prefixPoolUnallocatedCountIpv6: number; /** * Name of the service provider associated with the connection. */ readonly providerName: string; /** * Rate limiter status for the connection. See `rateLimiterStatus` Block below. */ readonly rateLimiterStatuses: outputs.directconnect.GetConnectionRateLimiterStatus[]; readonly region: string; /** * State of the connection. */ readonly state: string; /** * Map of tags for the resource. */ readonly tags: { [key: string]: string; }; /** * The VLAN ID. */ readonly vlanId: number; } /** * Retrieve information about a Direct Connect Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.directconnect.getConnection({ * name: "tf-dx-connection", * }); * ``` */ export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConnection. */ export interface GetConnectionOutputArgs { /** * Name of the connection to retrieve. */ name: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Map of tags for the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getConnection.d.ts.map