@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
49 lines (48 loc) • 1.75 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::DirectConnect::PublicVirtualInterface
*/
export declare function getPublicVirtualInterface(args: GetPublicVirtualInterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetPublicVirtualInterfaceResult>;
export interface GetPublicVirtualInterfaceArgs {
/**
* The ARN of the virtual interface.
*/
virtualInterfaceArn: string;
}
export interface GetPublicVirtualInterfaceResult {
/**
* The BGP peers configured on this virtual interface.
*/
readonly bgpPeers?: outputs.directconnect.PublicVirtualInterfaceBgpPeer[];
/**
* The ID or ARN of the connection or LAG.
*/
readonly connectionId?: string;
/**
* The tags associated with the public virtual interface.
*/
readonly tags?: outputs.Tag[];
/**
* The ARN of the virtual interface.
*/
readonly virtualInterfaceArn?: string;
/**
* The ID of the virtual interface.
*/
readonly virtualInterfaceId?: string;
/**
* The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
*/
readonly virtualInterfaceName?: string;
}
/**
* Resource Type definition for AWS::DirectConnect::PublicVirtualInterface
*/
export declare function getPublicVirtualInterfaceOutput(args: GetPublicVirtualInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPublicVirtualInterfaceResult>;
export interface GetPublicVirtualInterfaceOutputArgs {
/**
* The ARN of the virtual interface.
*/
virtualInterfaceArn: pulumi.Input<string>;
}