UNPKG

@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)

100 lines (99 loc) 4.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::DirectConnect::PublicVirtualInterface */ export declare class PublicVirtualInterface extends pulumi.CustomResource { /** * Get an existing PublicVirtualInterface resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PublicVirtualInterface; /** * Returns true if the given object is an instance of PublicVirtualInterface. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PublicVirtualInterface; /** * The Amazon Resource Name (ARN) of the role to allocate the public virtual interface. Needs directconnect:AllocatePublicVirtualInterface permissions and tag permissions if applicable. */ readonly allocatePublicVirtualInterfaceRoleArn: pulumi.Output<string | undefined>; /** * The BGP peers configured on this virtual interface. */ readonly bgpPeers: pulumi.Output<outputs.directconnect.PublicVirtualInterfaceBgpPeer[]>; /** * The ID or ARN of the connection or LAG. */ readonly connectionId: pulumi.Output<string>; /** * The routes to be advertised to the AWS network in this region. */ readonly routeFilterPrefixes: pulumi.Output<string[] | undefined>; /** * The tags associated with the public virtual interface. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * The ARN of the virtual interface. */ readonly virtualInterfaceArn: pulumi.Output<string>; /** * The ID of the virtual interface. */ readonly virtualInterfaceId: pulumi.Output<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: pulumi.Output<string>; /** * The ID of the VLAN. */ readonly vlan: pulumi.Output<number>; /** * Create a PublicVirtualInterface resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PublicVirtualInterfaceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PublicVirtualInterface resource. */ export interface PublicVirtualInterfaceArgs { /** * The Amazon Resource Name (ARN) of the role to allocate the public virtual interface. Needs directconnect:AllocatePublicVirtualInterface permissions and tag permissions if applicable. */ allocatePublicVirtualInterfaceRoleArn?: pulumi.Input<string>; /** * The BGP peers configured on this virtual interface. */ bgpPeers: pulumi.Input<pulumi.Input<inputs.directconnect.PublicVirtualInterfaceBgpPeerArgs>[]>; /** * The ID or ARN of the connection or LAG. */ connectionId: pulumi.Input<string>; /** * The routes to be advertised to the AWS network in this region. */ routeFilterPrefixes?: pulumi.Input<pulumi.Input<string>[]>; /** * The tags associated with the public virtual interface. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; /** * 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 (-). */ virtualInterfaceName?: pulumi.Input<string>; /** * The ID of the VLAN. */ vlan: pulumi.Input<number>; }