directconnect

package
v3.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BgpPeer

type BgpPeer struct {
	pulumi.CustomResourceState

	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
	// The IPv4 CIDR address to use to send traffic to Amazon.
	// Required for IPv4 BGP peers on public virtual interfaces.
	AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"`
	// The Direct Connect endpoint on which the BGP peer terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"`
	// The ID of the BGP peer.
	BgpPeerId pulumi.StringOutput `pulumi:"bgpPeerId"`
	// The Up/Down state of the BGP peer.
	BgpStatus pulumi.StringOutput `pulumi:"bgpStatus"`
	// The IPv4 CIDR destination address to which Amazon should send traffic.
	// Required for IPv4 BGP peers on public virtual interfaces.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// The ID of the Direct Connect virtual interface on which to create the BGP peer.
	VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"`
}

Provides a Direct Connect BGP peer resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewBgpPeer(ctx, "peer", &directconnect.BgpPeerArgs{
			VirtualInterfaceId: pulumi.Any(aws_dx_private_virtual_interface.Foo.Id),
			AddressFamily:      pulumi.String("ipv6"),
			BgpAsn:             pulumi.Int(65351),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetBgpPeer

func GetBgpPeer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BgpPeerState, opts ...pulumi.ResourceOption) (*BgpPeer, error)

GetBgpPeer gets an existing BgpPeer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBgpPeer

func NewBgpPeer(ctx *pulumi.Context,
	name string, args *BgpPeerArgs, opts ...pulumi.ResourceOption) (*BgpPeer, error)

NewBgpPeer registers a new resource with the given unique name, arguments, and options.

func (*BgpPeer) ElementType added in v3.13.0

func (*BgpPeer) ElementType() reflect.Type

func (*BgpPeer) ToBgpPeerOutput added in v3.13.0

func (i *BgpPeer) ToBgpPeerOutput() BgpPeerOutput

func (*BgpPeer) ToBgpPeerOutputWithContext added in v3.13.0

func (i *BgpPeer) ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput

func (*BgpPeer) ToBgpPeerPtrOutput added in v3.25.0

func (i *BgpPeer) ToBgpPeerPtrOutput() BgpPeerPtrOutput

func (*BgpPeer) ToBgpPeerPtrOutputWithContext added in v3.25.0

func (i *BgpPeer) ToBgpPeerPtrOutputWithContext(ctx context.Context) BgpPeerPtrOutput

type BgpPeerArgs

type BgpPeerArgs struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringInput
	// The IPv4 CIDR address to use to send traffic to Amazon.
	// Required for IPv4 BGP peers on public virtual interfaces.
	AmazonAddress pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic.
	// Required for IPv4 BGP peers on public virtual interfaces.
	CustomerAddress pulumi.StringPtrInput
	// The ID of the Direct Connect virtual interface on which to create the BGP peer.
	VirtualInterfaceId pulumi.StringInput
}

The set of arguments for constructing a BgpPeer resource.

func (BgpPeerArgs) ElementType

func (BgpPeerArgs) ElementType() reflect.Type

type BgpPeerArray added in v3.25.0

type BgpPeerArray []BgpPeerInput

func (BgpPeerArray) ElementType added in v3.25.0

func (BgpPeerArray) ElementType() reflect.Type

func (BgpPeerArray) ToBgpPeerArrayOutput added in v3.25.0

func (i BgpPeerArray) ToBgpPeerArrayOutput() BgpPeerArrayOutput

func (BgpPeerArray) ToBgpPeerArrayOutputWithContext added in v3.25.0

func (i BgpPeerArray) ToBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeerArrayOutput

type BgpPeerArrayInput added in v3.25.0

type BgpPeerArrayInput interface {
	pulumi.Input

	ToBgpPeerArrayOutput() BgpPeerArrayOutput
	ToBgpPeerArrayOutputWithContext(context.Context) BgpPeerArrayOutput
}

BgpPeerArrayInput is an input type that accepts BgpPeerArray and BgpPeerArrayOutput values. You can construct a concrete instance of `BgpPeerArrayInput` via:

BgpPeerArray{ BgpPeerArgs{...} }

type BgpPeerArrayOutput added in v3.25.0

type BgpPeerArrayOutput struct{ *pulumi.OutputState }

func (BgpPeerArrayOutput) ElementType added in v3.25.0

func (BgpPeerArrayOutput) ElementType() reflect.Type

func (BgpPeerArrayOutput) Index added in v3.25.0

func (BgpPeerArrayOutput) ToBgpPeerArrayOutput added in v3.25.0

func (o BgpPeerArrayOutput) ToBgpPeerArrayOutput() BgpPeerArrayOutput

func (BgpPeerArrayOutput) ToBgpPeerArrayOutputWithContext added in v3.25.0

func (o BgpPeerArrayOutput) ToBgpPeerArrayOutputWithContext(ctx context.Context) BgpPeerArrayOutput

type BgpPeerInput added in v3.13.0

type BgpPeerInput interface {
	pulumi.Input

	ToBgpPeerOutput() BgpPeerOutput
	ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput
}

type BgpPeerMap added in v3.25.0

type BgpPeerMap map[string]BgpPeerInput

func (BgpPeerMap) ElementType added in v3.25.0

func (BgpPeerMap) ElementType() reflect.Type

func (BgpPeerMap) ToBgpPeerMapOutput added in v3.25.0

func (i BgpPeerMap) ToBgpPeerMapOutput() BgpPeerMapOutput

func (BgpPeerMap) ToBgpPeerMapOutputWithContext added in v3.25.0

func (i BgpPeerMap) ToBgpPeerMapOutputWithContext(ctx context.Context) BgpPeerMapOutput

type BgpPeerMapInput added in v3.25.0

type BgpPeerMapInput interface {
	pulumi.Input

	ToBgpPeerMapOutput() BgpPeerMapOutput
	ToBgpPeerMapOutputWithContext(context.Context) BgpPeerMapOutput
}

BgpPeerMapInput is an input type that accepts BgpPeerMap and BgpPeerMapOutput values. You can construct a concrete instance of `BgpPeerMapInput` via:

BgpPeerMap{ "key": BgpPeerArgs{...} }

type BgpPeerMapOutput added in v3.25.0

type BgpPeerMapOutput struct{ *pulumi.OutputState }

func (BgpPeerMapOutput) ElementType added in v3.25.0

func (BgpPeerMapOutput) ElementType() reflect.Type

func (BgpPeerMapOutput) MapIndex added in v3.25.0

func (BgpPeerMapOutput) ToBgpPeerMapOutput added in v3.25.0

func (o BgpPeerMapOutput) ToBgpPeerMapOutput() BgpPeerMapOutput

func (BgpPeerMapOutput) ToBgpPeerMapOutputWithContext added in v3.25.0

func (o BgpPeerMapOutput) ToBgpPeerMapOutputWithContext(ctx context.Context) BgpPeerMapOutput

type BgpPeerOutput added in v3.13.0

type BgpPeerOutput struct {
	*pulumi.OutputState
}

func (BgpPeerOutput) ElementType added in v3.13.0

func (BgpPeerOutput) ElementType() reflect.Type

func (BgpPeerOutput) ToBgpPeerOutput added in v3.13.0

func (o BgpPeerOutput) ToBgpPeerOutput() BgpPeerOutput

func (BgpPeerOutput) ToBgpPeerOutputWithContext added in v3.13.0

func (o BgpPeerOutput) ToBgpPeerOutputWithContext(ctx context.Context) BgpPeerOutput

func (BgpPeerOutput) ToBgpPeerPtrOutput added in v3.25.0

func (o BgpPeerOutput) ToBgpPeerPtrOutput() BgpPeerPtrOutput

func (BgpPeerOutput) ToBgpPeerPtrOutputWithContext added in v3.25.0

func (o BgpPeerOutput) ToBgpPeerPtrOutputWithContext(ctx context.Context) BgpPeerPtrOutput

type BgpPeerPtrInput added in v3.25.0

type BgpPeerPtrInput interface {
	pulumi.Input

	ToBgpPeerPtrOutput() BgpPeerPtrOutput
	ToBgpPeerPtrOutputWithContext(ctx context.Context) BgpPeerPtrOutput
}

type BgpPeerPtrOutput added in v3.25.0

type BgpPeerPtrOutput struct {
	*pulumi.OutputState
}

func (BgpPeerPtrOutput) ElementType added in v3.25.0

func (BgpPeerPtrOutput) ElementType() reflect.Type

func (BgpPeerPtrOutput) ToBgpPeerPtrOutput added in v3.25.0

func (o BgpPeerPtrOutput) ToBgpPeerPtrOutput() BgpPeerPtrOutput

func (BgpPeerPtrOutput) ToBgpPeerPtrOutputWithContext added in v3.25.0

func (o BgpPeerPtrOutput) ToBgpPeerPtrOutputWithContext(ctx context.Context) BgpPeerPtrOutput

type BgpPeerState

type BgpPeerState struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringPtrInput
	// The IPv4 CIDR address to use to send traffic to Amazon.
	// Required for IPv4 BGP peers on public virtual interfaces.
	AmazonAddress pulumi.StringPtrInput
	// The Direct Connect endpoint on which the BGP peer terminates.
	AwsDevice pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntPtrInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the BGP peer.
	BgpPeerId pulumi.StringPtrInput
	// The Up/Down state of the BGP peer.
	BgpStatus pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic.
	// Required for IPv4 BGP peers on public virtual interfaces.
	CustomerAddress pulumi.StringPtrInput
	// The ID of the Direct Connect virtual interface on which to create the BGP peer.
	VirtualInterfaceId pulumi.StringPtrInput
}

func (BgpPeerState) ElementType

func (BgpPeerState) ElementType() reflect.Type

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// The ARN of the connection.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Direct Connect endpoint on which the physical connection terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
	Bandwidth pulumi.StringOutput `pulumi:"bandwidth"`
	// Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
	HasLogicalRedundancy pulumi.StringOutput `pulumi:"hasLogicalRedundancy"`
	// Boolean value representing if jumbo frames have been enabled for this connection.
	JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"`
	// The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the connection.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a Connection of Direct Connect.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewConnection(ctx, "hoge", &directconnect.ConnectionArgs{
			Bandwidth: pulumi.String("1Gbps"),
			Location:  pulumi.String("EqDC2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect connections can be imported using the `connection id`, e.g.

```sh

$ pulumi import aws:directconnect/connection:Connection test_connection dxcon-ffre0ec3

```

func GetConnection

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConnection

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

NewConnection registers a new resource with the given unique name, arguments, and options.

func (*Connection) ElementType added in v3.13.0

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput added in v3.13.0

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext added in v3.13.0

func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

func (*Connection) ToConnectionPtrOutput added in v3.25.0

func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput

func (*Connection) ToConnectionPtrOutputWithContext added in v3.25.0

func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

type ConnectionArgs

type ConnectionArgs struct {
	// The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
	Bandwidth pulumi.StringInput
	// The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
	Location pulumi.StringInput
	// The name of the connection.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray added in v3.25.0

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType added in v3.25.0

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput added in v3.25.0

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext added in v3.25.0

func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionArrayInput added in v3.25.0

type ConnectionArrayInput interface {
	pulumi.Input

	ToConnectionArrayOutput() ConnectionArrayOutput
	ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput
}

ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput added in v3.25.0

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType added in v3.25.0

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index added in v3.25.0

func (ConnectionArrayOutput) ToConnectionArrayOutput added in v3.25.0

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext added in v3.25.0

func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionAssociation

type ConnectionAssociation struct {
	pulumi.CustomResourceState

	// The ID of the connection.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// The ID of the LAG with which to associate the connection.
	LagId pulumi.StringOutput `pulumi:"lagId"`
}

Associates a Direct Connect Connection with a LAG.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleConnection, err := directconnect.NewConnection(ctx, "exampleConnection", &directconnect.ConnectionArgs{
			Bandwidth: pulumi.String("1Gbps"),
			Location:  pulumi.String("EqSe2-EQ"),
		})
		if err != nil {
			return err
		}
		exampleLinkAggregationGroup, err := directconnect.NewLinkAggregationGroup(ctx, "exampleLinkAggregationGroup", &directconnect.LinkAggregationGroupArgs{
			ConnectionsBandwidth: pulumi.String("1Gbps"),
			Location:             pulumi.String("EqSe2-EQ"),
		})
		if err != nil {
			return err
		}
		_, err = directconnect.NewConnectionAssociation(ctx, "exampleConnectionAssociation", &directconnect.ConnectionAssociationArgs{
			ConnectionId: exampleConnection.ID(),
			LagId:        exampleLinkAggregationGroup.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConnectionAssociation

func GetConnectionAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionAssociationState, opts ...pulumi.ResourceOption) (*ConnectionAssociation, error)

GetConnectionAssociation gets an existing ConnectionAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConnectionAssociation

func NewConnectionAssociation(ctx *pulumi.Context,
	name string, args *ConnectionAssociationArgs, opts ...pulumi.ResourceOption) (*ConnectionAssociation, error)

NewConnectionAssociation registers a new resource with the given unique name, arguments, and options.

func (*ConnectionAssociation) ElementType added in v3.13.0

func (*ConnectionAssociation) ElementType() reflect.Type

func (*ConnectionAssociation) ToConnectionAssociationOutput added in v3.13.0

func (i *ConnectionAssociation) ToConnectionAssociationOutput() ConnectionAssociationOutput

func (*ConnectionAssociation) ToConnectionAssociationOutputWithContext added in v3.13.0

func (i *ConnectionAssociation) ToConnectionAssociationOutputWithContext(ctx context.Context) ConnectionAssociationOutput

func (*ConnectionAssociation) ToConnectionAssociationPtrOutput added in v3.25.0

func (i *ConnectionAssociation) ToConnectionAssociationPtrOutput() ConnectionAssociationPtrOutput

func (*ConnectionAssociation) ToConnectionAssociationPtrOutputWithContext added in v3.25.0

func (i *ConnectionAssociation) ToConnectionAssociationPtrOutputWithContext(ctx context.Context) ConnectionAssociationPtrOutput

type ConnectionAssociationArgs

type ConnectionAssociationArgs struct {
	// The ID of the connection.
	ConnectionId pulumi.StringInput
	// The ID of the LAG with which to associate the connection.
	LagId pulumi.StringInput
}

The set of arguments for constructing a ConnectionAssociation resource.

func (ConnectionAssociationArgs) ElementType

func (ConnectionAssociationArgs) ElementType() reflect.Type

type ConnectionAssociationArray added in v3.25.0

type ConnectionAssociationArray []ConnectionAssociationInput

func (ConnectionAssociationArray) ElementType added in v3.25.0

func (ConnectionAssociationArray) ElementType() reflect.Type

func (ConnectionAssociationArray) ToConnectionAssociationArrayOutput added in v3.25.0

func (i ConnectionAssociationArray) ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput

func (ConnectionAssociationArray) ToConnectionAssociationArrayOutputWithContext added in v3.25.0

func (i ConnectionAssociationArray) ToConnectionAssociationArrayOutputWithContext(ctx context.Context) ConnectionAssociationArrayOutput

type ConnectionAssociationArrayInput added in v3.25.0

type ConnectionAssociationArrayInput interface {
	pulumi.Input

	ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput
	ToConnectionAssociationArrayOutputWithContext(context.Context) ConnectionAssociationArrayOutput
}

ConnectionAssociationArrayInput is an input type that accepts ConnectionAssociationArray and ConnectionAssociationArrayOutput values. You can construct a concrete instance of `ConnectionAssociationArrayInput` via:

ConnectionAssociationArray{ ConnectionAssociationArgs{...} }

type ConnectionAssociationArrayOutput added in v3.25.0

type ConnectionAssociationArrayOutput struct{ *pulumi.OutputState }

func (ConnectionAssociationArrayOutput) ElementType added in v3.25.0

func (ConnectionAssociationArrayOutput) Index added in v3.25.0

func (ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutput added in v3.25.0

func (o ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutput() ConnectionAssociationArrayOutput

func (ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutputWithContext added in v3.25.0

func (o ConnectionAssociationArrayOutput) ToConnectionAssociationArrayOutputWithContext(ctx context.Context) ConnectionAssociationArrayOutput

type ConnectionAssociationInput added in v3.13.0

type ConnectionAssociationInput interface {
	pulumi.Input

	ToConnectionAssociationOutput() ConnectionAssociationOutput
	ToConnectionAssociationOutputWithContext(ctx context.Context) ConnectionAssociationOutput
}

type ConnectionAssociationMap added in v3.25.0

type ConnectionAssociationMap map[string]ConnectionAssociationInput

func (ConnectionAssociationMap) ElementType added in v3.25.0

func (ConnectionAssociationMap) ElementType() reflect.Type

func (ConnectionAssociationMap) ToConnectionAssociationMapOutput added in v3.25.0

func (i ConnectionAssociationMap) ToConnectionAssociationMapOutput() ConnectionAssociationMapOutput

func (ConnectionAssociationMap) ToConnectionAssociationMapOutputWithContext added in v3.25.0

func (i ConnectionAssociationMap) ToConnectionAssociationMapOutputWithContext(ctx context.Context) ConnectionAssociationMapOutput

type ConnectionAssociationMapInput added in v3.25.0

type ConnectionAssociationMapInput interface {
	pulumi.Input

	ToConnectionAssociationMapOutput() ConnectionAssociationMapOutput
	ToConnectionAssociationMapOutputWithContext(context.Context) ConnectionAssociationMapOutput
}

ConnectionAssociationMapInput is an input type that accepts ConnectionAssociationMap and ConnectionAssociationMapOutput values. You can construct a concrete instance of `ConnectionAssociationMapInput` via:

ConnectionAssociationMap{ "key": ConnectionAssociationArgs{...} }

type ConnectionAssociationMapOutput added in v3.25.0

type ConnectionAssociationMapOutput struct{ *pulumi.OutputState }

func (ConnectionAssociationMapOutput) ElementType added in v3.25.0

func (ConnectionAssociationMapOutput) MapIndex added in v3.25.0

func (ConnectionAssociationMapOutput) ToConnectionAssociationMapOutput added in v3.25.0

func (o ConnectionAssociationMapOutput) ToConnectionAssociationMapOutput() ConnectionAssociationMapOutput

func (ConnectionAssociationMapOutput) ToConnectionAssociationMapOutputWithContext added in v3.25.0

func (o ConnectionAssociationMapOutput) ToConnectionAssociationMapOutputWithContext(ctx context.Context) ConnectionAssociationMapOutput

type ConnectionAssociationOutput added in v3.13.0

type ConnectionAssociationOutput struct {
	*pulumi.OutputState
}

func (ConnectionAssociationOutput) ElementType added in v3.13.0

func (ConnectionAssociationOutput) ToConnectionAssociationOutput added in v3.13.0

func (o ConnectionAssociationOutput) ToConnectionAssociationOutput() ConnectionAssociationOutput

func (ConnectionAssociationOutput) ToConnectionAssociationOutputWithContext added in v3.13.0

func (o ConnectionAssociationOutput) ToConnectionAssociationOutputWithContext(ctx context.Context) ConnectionAssociationOutput

func (ConnectionAssociationOutput) ToConnectionAssociationPtrOutput added in v3.25.0

func (o ConnectionAssociationOutput) ToConnectionAssociationPtrOutput() ConnectionAssociationPtrOutput

func (ConnectionAssociationOutput) ToConnectionAssociationPtrOutputWithContext added in v3.25.0

func (o ConnectionAssociationOutput) ToConnectionAssociationPtrOutputWithContext(ctx context.Context) ConnectionAssociationPtrOutput

type ConnectionAssociationPtrInput added in v3.25.0

type ConnectionAssociationPtrInput interface {
	pulumi.Input

	ToConnectionAssociationPtrOutput() ConnectionAssociationPtrOutput
	ToConnectionAssociationPtrOutputWithContext(ctx context.Context) ConnectionAssociationPtrOutput
}

type ConnectionAssociationPtrOutput added in v3.25.0

type ConnectionAssociationPtrOutput struct {
	*pulumi.OutputState
}

func (ConnectionAssociationPtrOutput) ElementType added in v3.25.0

func (ConnectionAssociationPtrOutput) ToConnectionAssociationPtrOutput added in v3.25.0

func (o ConnectionAssociationPtrOutput) ToConnectionAssociationPtrOutput() ConnectionAssociationPtrOutput

func (ConnectionAssociationPtrOutput) ToConnectionAssociationPtrOutputWithContext added in v3.25.0

func (o ConnectionAssociationPtrOutput) ToConnectionAssociationPtrOutputWithContext(ctx context.Context) ConnectionAssociationPtrOutput

type ConnectionAssociationState

type ConnectionAssociationState struct {
	// The ID of the connection.
	ConnectionId pulumi.StringPtrInput
	// The ID of the LAG with which to associate the connection.
	LagId pulumi.StringPtrInput
}

func (ConnectionAssociationState) ElementType

func (ConnectionAssociationState) ElementType() reflect.Type

type ConnectionInput added in v3.13.0

type ConnectionInput interface {
	pulumi.Input

	ToConnectionOutput() ConnectionOutput
	ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
}

type ConnectionMap added in v3.25.0

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType added in v3.25.0

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput added in v3.25.0

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext added in v3.25.0

func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionMapInput added in v3.25.0

type ConnectionMapInput interface {
	pulumi.Input

	ToConnectionMapOutput() ConnectionMapOutput
	ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput
}

ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:

ConnectionMap{ "key": ConnectionArgs{...} }

type ConnectionMapOutput added in v3.25.0

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType added in v3.25.0

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex added in v3.25.0

func (ConnectionMapOutput) ToConnectionMapOutput added in v3.25.0

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext added in v3.25.0

func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionOutput added in v3.13.0

type ConnectionOutput struct {
	*pulumi.OutputState
}

func (ConnectionOutput) ElementType added in v3.13.0

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) ToConnectionOutput added in v3.13.0

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext added in v3.13.0

func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

func (ConnectionOutput) ToConnectionPtrOutput added in v3.25.0

func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput

func (ConnectionOutput) ToConnectionPtrOutputWithContext added in v3.25.0

func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

type ConnectionPtrInput added in v3.25.0

type ConnectionPtrInput interface {
	pulumi.Input

	ToConnectionPtrOutput() ConnectionPtrOutput
	ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
}

type ConnectionPtrOutput added in v3.25.0

type ConnectionPtrOutput struct {
	*pulumi.OutputState
}

func (ConnectionPtrOutput) ElementType added in v3.25.0

func (ConnectionPtrOutput) ElementType() reflect.Type

func (ConnectionPtrOutput) ToConnectionPtrOutput added in v3.25.0

func (o ConnectionPtrOutput) ToConnectionPtrOutput() ConnectionPtrOutput

func (ConnectionPtrOutput) ToConnectionPtrOutputWithContext added in v3.25.0

func (o ConnectionPtrOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput

type ConnectionState

type ConnectionState struct {
	// The ARN of the connection.
	Arn pulumi.StringPtrInput
	// The Direct Connect endpoint on which the physical connection terminates.
	AwsDevice pulumi.StringPtrInput
	// The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
	Bandwidth pulumi.StringPtrInput
	// Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
	HasLogicalRedundancy pulumi.StringPtrInput
	// Boolean value representing if jumbo frames have been enabled for this connection.
	JumboFrameCapable pulumi.BoolPtrInput
	// The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
	Location pulumi.StringPtrInput
	// The name of the connection.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type

type Gateway

type Gateway struct {
	pulumi.CustomResourceState

	// The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294.
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The name of the connection.
	Name pulumi.StringOutput `pulumi:"name"`
	// AWS Account ID of the gateway.
	OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"`
}

Provides a Direct Connect Gateway.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{
			AmazonSideAsn: pulumi.String("64512"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect Gateways can be imported using the `gateway id`, e.g.

```sh

$ pulumi import aws:directconnect/gateway:Gateway test abcd1234-dcba-5678-be23-cdef9876ab45

```

func GetGateway

func GetGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)

GetGateway gets an existing Gateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGateway

func NewGateway(ctx *pulumi.Context,
	name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)

NewGateway registers a new resource with the given unique name, arguments, and options.

func (*Gateway) ElementType added in v3.13.0

func (*Gateway) ElementType() reflect.Type

func (*Gateway) ToGatewayOutput added in v3.13.0

func (i *Gateway) ToGatewayOutput() GatewayOutput

func (*Gateway) ToGatewayOutputWithContext added in v3.13.0

func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput

func (*Gateway) ToGatewayPtrOutput added in v3.25.0

func (i *Gateway) ToGatewayPtrOutput() GatewayPtrOutput

func (*Gateway) ToGatewayPtrOutputWithContext added in v3.25.0

func (i *Gateway) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput

type GatewayArgs

type GatewayArgs struct {
	// The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294.
	AmazonSideAsn pulumi.StringInput
	// The name of the connection.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Gateway resource.

func (GatewayArgs) ElementType

func (GatewayArgs) ElementType() reflect.Type

type GatewayArray added in v3.25.0

type GatewayArray []GatewayInput

func (GatewayArray) ElementType added in v3.25.0

func (GatewayArray) ElementType() reflect.Type

func (GatewayArray) ToGatewayArrayOutput added in v3.25.0

func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArray) ToGatewayArrayOutputWithContext added in v3.25.0

func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput

type GatewayArrayInput added in v3.25.0

type GatewayArrayInput interface {
	pulumi.Input

	ToGatewayArrayOutput() GatewayArrayOutput
	ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput
}

GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:

GatewayArray{ GatewayArgs{...} }

type GatewayArrayOutput added in v3.25.0

type GatewayArrayOutput struct{ *pulumi.OutputState }

func (GatewayArrayOutput) ElementType added in v3.25.0

func (GatewayArrayOutput) ElementType() reflect.Type

func (GatewayArrayOutput) Index added in v3.25.0

func (GatewayArrayOutput) ToGatewayArrayOutput added in v3.25.0

func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput

func (GatewayArrayOutput) ToGatewayArrayOutputWithContext added in v3.25.0

func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput

type GatewayAssociation

type GatewayAssociation struct {
	pulumi.CustomResourceState

	// VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
	AllowedPrefixes pulumi.StringArrayOutput `pulumi:"allowedPrefixes"`
	// The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
	// Used for single account Direct Connect gateway associations.
	AssociatedGatewayId pulumi.StringOutput `pulumi:"associatedGatewayId"`
	// The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway.
	// Used for cross-account Direct Connect gateway associations.
	AssociatedGatewayOwnerAccountId pulumi.StringOutput `pulumi:"associatedGatewayOwnerAccountId"`
	// The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
	AssociatedGatewayType pulumi.StringOutput `pulumi:"associatedGatewayType"`
	// The ID of the Direct Connect gateway association.
	DxGatewayAssociationId pulumi.StringOutput `pulumi:"dxGatewayAssociationId"`
	// The ID of the Direct Connect gateway.
	DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"`
	// The ID of the AWS account that owns the Direct Connect gateway.
	DxGatewayOwnerAccountId pulumi.StringOutput `pulumi:"dxGatewayOwnerAccountId"`
	// The ID of the Direct Connect gateway association proposal.
	// Used for cross-account Direct Connect gateway associations.
	ProposalId pulumi.StringPtrOutput `pulumi:"proposalId"`
	// Deprecated: use 'associated_gateway_id' argument instead
	VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"`
}

Associates a Direct Connect Gateway with a VGW or transit gateway.

To create a cross-account association, create an `directconnect.GatewayAssociationProposal` resource in the AWS account that owns the VGW or transit gateway and then accept the proposal in the AWS account that owns the Direct Connect Gateway by creating an `directconnect.GatewayAssociation` resource with the `proposalId` and `associatedGatewayOwnerAccountId` attributes set.

## Example Usage ### VPN Gateway Association

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGateway, err := directconnect.NewGateway(ctx, "exampleGateway", &directconnect.GatewayArgs{
			AmazonSideAsn: pulumi.String("64512"),
		})
		if err != nil {
			return err
		}
		exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.255.255.0/28"),
		})
		if err != nil {
			return err
		}
		exampleVpnGateway, err := ec2.NewVpnGateway(ctx, "exampleVpnGateway", &ec2.VpnGatewayArgs{
			VpcId: exampleVpc.ID(),
		})
		if err != nil {
			return err
		}
		_, err = directconnect.NewGatewayAssociation(ctx, "exampleGatewayAssociation", &directconnect.GatewayAssociationArgs{
			DxGatewayId:         exampleGateway.ID(),
			AssociatedGatewayId: exampleVpnGateway.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Transit Gateway Association

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGateway, err := directconnect.NewGateway(ctx, "exampleGateway", &directconnect.GatewayArgs{
			AmazonSideAsn: pulumi.String("64512"),
		})
		if err != nil {
			return err
		}
		exampleTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "exampleTransitGateway", nil)
		if err != nil {
			return err
		}
		_, err = directconnect.NewGatewayAssociation(ctx, "exampleGatewayAssociation", &directconnect.GatewayAssociationArgs{
			DxGatewayId:         exampleGateway.ID(),
			AssociatedGatewayId: exampleTransitGateway.ID(),
			AllowedPrefixes: pulumi.StringArray{
				pulumi.String("10.255.255.0/30"),
				pulumi.String("10.255.255.8/30"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Allowed Prefixes

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGateway, err := directconnect.NewGateway(ctx, "exampleGateway", &directconnect.GatewayArgs{
			AmazonSideAsn: pulumi.String("64512"),
		})
		if err != nil {
			return err
		}
		exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.255.255.0/28"),
		})
		if err != nil {
			return err
		}
		exampleVpnGateway, err := ec2.NewVpnGateway(ctx, "exampleVpnGateway", &ec2.VpnGatewayArgs{
			VpcId: exampleVpc.ID(),
		})
		if err != nil {
			return err
		}
		_, err = directconnect.NewGatewayAssociation(ctx, "exampleGatewayAssociation", &directconnect.GatewayAssociationArgs{
			DxGatewayId:         exampleGateway.ID(),
			AssociatedGatewayId: exampleVpnGateway.ID(),
			AllowedPrefixes: pulumi.StringArray{
				pulumi.String("210.52.109.0/24"),
				pulumi.String("175.45.176.0/22"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect gateway associations can be imported using `dx_gateway_id` together with `associated_gateway_id`, e.g.

```sh

$ pulumi import aws:directconnect/gatewayAssociation:GatewayAssociation example dxgw-12345678/vgw-98765432

```

func GetGatewayAssociation

func GetGatewayAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayAssociationState, opts ...pulumi.ResourceOption) (*GatewayAssociation, error)

GetGatewayAssociation gets an existing GatewayAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGatewayAssociation

func NewGatewayAssociation(ctx *pulumi.Context,
	name string, args *GatewayAssociationArgs, opts ...pulumi.ResourceOption) (*GatewayAssociation, error)

NewGatewayAssociation registers a new resource with the given unique name, arguments, and options.

func (*GatewayAssociation) ElementType added in v3.13.0

func (*GatewayAssociation) ElementType() reflect.Type

func (*GatewayAssociation) ToGatewayAssociationOutput added in v3.13.0

func (i *GatewayAssociation) ToGatewayAssociationOutput() GatewayAssociationOutput

func (*GatewayAssociation) ToGatewayAssociationOutputWithContext added in v3.13.0

func (i *GatewayAssociation) ToGatewayAssociationOutputWithContext(ctx context.Context) GatewayAssociationOutput

func (*GatewayAssociation) ToGatewayAssociationPtrOutput added in v3.25.0

func (i *GatewayAssociation) ToGatewayAssociationPtrOutput() GatewayAssociationPtrOutput

func (*GatewayAssociation) ToGatewayAssociationPtrOutputWithContext added in v3.25.0

func (i *GatewayAssociation) ToGatewayAssociationPtrOutputWithContext(ctx context.Context) GatewayAssociationPtrOutput

type GatewayAssociationArgs

type GatewayAssociationArgs struct {
	// VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
	AllowedPrefixes pulumi.StringArrayInput
	// The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
	// Used for single account Direct Connect gateway associations.
	AssociatedGatewayId pulumi.StringPtrInput
	// The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway.
	// Used for cross-account Direct Connect gateway associations.
	AssociatedGatewayOwnerAccountId pulumi.StringPtrInput
	// The ID of the Direct Connect gateway.
	DxGatewayId pulumi.StringInput
	// The ID of the Direct Connect gateway association proposal.
	// Used for cross-account Direct Connect gateway associations.
	ProposalId pulumi.StringPtrInput
	// Deprecated: use 'associated_gateway_id' argument instead
	VpnGatewayId pulumi.StringPtrInput
}

The set of arguments for constructing a GatewayAssociation resource.

func (GatewayAssociationArgs) ElementType

func (GatewayAssociationArgs) ElementType() reflect.Type

type GatewayAssociationArray added in v3.25.0

type GatewayAssociationArray []GatewayAssociationInput

func (GatewayAssociationArray) ElementType added in v3.25.0

func (GatewayAssociationArray) ElementType() reflect.Type

func (GatewayAssociationArray) ToGatewayAssociationArrayOutput added in v3.25.0

func (i GatewayAssociationArray) ToGatewayAssociationArrayOutput() GatewayAssociationArrayOutput

func (GatewayAssociationArray) ToGatewayAssociationArrayOutputWithContext added in v3.25.0

func (i GatewayAssociationArray) ToGatewayAssociationArrayOutputWithContext(ctx context.Context) GatewayAssociationArrayOutput

type GatewayAssociationArrayInput added in v3.25.0

type GatewayAssociationArrayInput interface {
	pulumi.Input

	ToGatewayAssociationArrayOutput() GatewayAssociationArrayOutput
	ToGatewayAssociationArrayOutputWithContext(context.Context) GatewayAssociationArrayOutput
}

GatewayAssociationArrayInput is an input type that accepts GatewayAssociationArray and GatewayAssociationArrayOutput values. You can construct a concrete instance of `GatewayAssociationArrayInput` via:

GatewayAssociationArray{ GatewayAssociationArgs{...} }

type GatewayAssociationArrayOutput added in v3.25.0

type GatewayAssociationArrayOutput struct{ *pulumi.OutputState }

func (GatewayAssociationArrayOutput) ElementType added in v3.25.0

func (GatewayAssociationArrayOutput) Index added in v3.25.0

func (GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutput added in v3.25.0

func (o GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutput() GatewayAssociationArrayOutput

func (GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutputWithContext added in v3.25.0

func (o GatewayAssociationArrayOutput) ToGatewayAssociationArrayOutputWithContext(ctx context.Context) GatewayAssociationArrayOutput

type GatewayAssociationInput added in v3.13.0

type GatewayAssociationInput interface {
	pulumi.Input

	ToGatewayAssociationOutput() GatewayAssociationOutput
	ToGatewayAssociationOutputWithContext(ctx context.Context) GatewayAssociationOutput
}

type GatewayAssociationMap added in v3.25.0

type GatewayAssociationMap map[string]GatewayAssociationInput

func (GatewayAssociationMap) ElementType added in v3.25.0

func (GatewayAssociationMap) ElementType() reflect.Type

func (GatewayAssociationMap) ToGatewayAssociationMapOutput added in v3.25.0

func (i GatewayAssociationMap) ToGatewayAssociationMapOutput() GatewayAssociationMapOutput

func (GatewayAssociationMap) ToGatewayAssociationMapOutputWithContext added in v3.25.0

func (i GatewayAssociationMap) ToGatewayAssociationMapOutputWithContext(ctx context.Context) GatewayAssociationMapOutput

type GatewayAssociationMapInput added in v3.25.0

type GatewayAssociationMapInput interface {
	pulumi.Input

	ToGatewayAssociationMapOutput() GatewayAssociationMapOutput
	ToGatewayAssociationMapOutputWithContext(context.Context) GatewayAssociationMapOutput
}

GatewayAssociationMapInput is an input type that accepts GatewayAssociationMap and GatewayAssociationMapOutput values. You can construct a concrete instance of `GatewayAssociationMapInput` via:

GatewayAssociationMap{ "key": GatewayAssociationArgs{...} }

type GatewayAssociationMapOutput added in v3.25.0

type GatewayAssociationMapOutput struct{ *pulumi.OutputState }

func (GatewayAssociationMapOutput) ElementType added in v3.25.0

func (GatewayAssociationMapOutput) MapIndex added in v3.25.0

func (GatewayAssociationMapOutput) ToGatewayAssociationMapOutput added in v3.25.0

func (o GatewayAssociationMapOutput) ToGatewayAssociationMapOutput() GatewayAssociationMapOutput

func (GatewayAssociationMapOutput) ToGatewayAssociationMapOutputWithContext added in v3.25.0

func (o GatewayAssociationMapOutput) ToGatewayAssociationMapOutputWithContext(ctx context.Context) GatewayAssociationMapOutput

type GatewayAssociationOutput added in v3.13.0

type GatewayAssociationOutput struct {
	*pulumi.OutputState
}

func (GatewayAssociationOutput) ElementType added in v3.13.0

func (GatewayAssociationOutput) ElementType() reflect.Type

func (GatewayAssociationOutput) ToGatewayAssociationOutput added in v3.13.0

func (o GatewayAssociationOutput) ToGatewayAssociationOutput() GatewayAssociationOutput

func (GatewayAssociationOutput) ToGatewayAssociationOutputWithContext added in v3.13.0

func (o GatewayAssociationOutput) ToGatewayAssociationOutputWithContext(ctx context.Context) GatewayAssociationOutput

func (GatewayAssociationOutput) ToGatewayAssociationPtrOutput added in v3.25.0

func (o GatewayAssociationOutput) ToGatewayAssociationPtrOutput() GatewayAssociationPtrOutput

func (GatewayAssociationOutput) ToGatewayAssociationPtrOutputWithContext added in v3.25.0

func (o GatewayAssociationOutput) ToGatewayAssociationPtrOutputWithContext(ctx context.Context) GatewayAssociationPtrOutput

type GatewayAssociationProposal

type GatewayAssociationProposal struct {
	pulumi.CustomResourceState

	// VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
	AllowedPrefixes pulumi.StringArrayOutput `pulumi:"allowedPrefixes"`
	// The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
	AssociatedGatewayId pulumi.StringOutput `pulumi:"associatedGatewayId"`
	// The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway.
	AssociatedGatewayOwnerAccountId pulumi.StringOutput `pulumi:"associatedGatewayOwnerAccountId"`
	// The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
	AssociatedGatewayType pulumi.StringOutput `pulumi:"associatedGatewayType"`
	// Direct Connect Gateway identifier.
	DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"`
	// AWS Account identifier of the Direct Connect Gateway's owner.
	DxGatewayOwnerAccountId pulumi.StringOutput `pulumi:"dxGatewayOwnerAccountId"`
}

Manages a Direct Connect Gateway Association Proposal, typically for enabling cross-account associations. For single account associations, see the `directconnect.GatewayAssociation` resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewGatewayAssociationProposal(ctx, "example", &directconnect.GatewayAssociationProposalArgs{
			DxGatewayId:             pulumi.Any(aws_dx_gateway.Example.Id),
			DxGatewayOwnerAccountId: pulumi.Any(aws_dx_gateway.Example.Owner_account_id),
			AssociatedGatewayId:     pulumi.Any(aws_vpn_gateway.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect Gateway Association Proposals can be imported using the proposal ID, e.g.

```sh

$ pulumi import aws:directconnect/gatewayAssociationProposal:GatewayAssociationProposal example ac90e981-b718-4364-872d-65478c84fafe

```

func GetGatewayAssociationProposal

func GetGatewayAssociationProposal(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GatewayAssociationProposalState, opts ...pulumi.ResourceOption) (*GatewayAssociationProposal, error)

GetGatewayAssociationProposal gets an existing GatewayAssociationProposal resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGatewayAssociationProposal

func NewGatewayAssociationProposal(ctx *pulumi.Context,
	name string, args *GatewayAssociationProposalArgs, opts ...pulumi.ResourceOption) (*GatewayAssociationProposal, error)

NewGatewayAssociationProposal registers a new resource with the given unique name, arguments, and options.

func (*GatewayAssociationProposal) ElementType added in v3.13.0

func (*GatewayAssociationProposal) ElementType() reflect.Type

func (*GatewayAssociationProposal) ToGatewayAssociationProposalOutput added in v3.13.0

func (i *GatewayAssociationProposal) ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput

func (*GatewayAssociationProposal) ToGatewayAssociationProposalOutputWithContext added in v3.13.0

func (i *GatewayAssociationProposal) ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput

func (*GatewayAssociationProposal) ToGatewayAssociationProposalPtrOutput added in v3.25.0

func (i *GatewayAssociationProposal) ToGatewayAssociationProposalPtrOutput() GatewayAssociationProposalPtrOutput

func (*GatewayAssociationProposal) ToGatewayAssociationProposalPtrOutputWithContext added in v3.25.0

func (i *GatewayAssociationProposal) ToGatewayAssociationProposalPtrOutputWithContext(ctx context.Context) GatewayAssociationProposalPtrOutput

type GatewayAssociationProposalArgs

type GatewayAssociationProposalArgs struct {
	// VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
	AllowedPrefixes pulumi.StringArrayInput
	// The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
	AssociatedGatewayId pulumi.StringInput
	// Direct Connect Gateway identifier.
	DxGatewayId pulumi.StringInput
	// AWS Account identifier of the Direct Connect Gateway's owner.
	DxGatewayOwnerAccountId pulumi.StringInput
}

The set of arguments for constructing a GatewayAssociationProposal resource.

func (GatewayAssociationProposalArgs) ElementType

type GatewayAssociationProposalArray added in v3.25.0

type GatewayAssociationProposalArray []GatewayAssociationProposalInput

func (GatewayAssociationProposalArray) ElementType added in v3.25.0

func (GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutput added in v3.25.0

func (i GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput

func (GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutputWithContext added in v3.25.0

func (i GatewayAssociationProposalArray) ToGatewayAssociationProposalArrayOutputWithContext(ctx context.Context) GatewayAssociationProposalArrayOutput

type GatewayAssociationProposalArrayInput added in v3.25.0

type GatewayAssociationProposalArrayInput interface {
	pulumi.Input

	ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput
	ToGatewayAssociationProposalArrayOutputWithContext(context.Context) GatewayAssociationProposalArrayOutput
}

GatewayAssociationProposalArrayInput is an input type that accepts GatewayAssociationProposalArray and GatewayAssociationProposalArrayOutput values. You can construct a concrete instance of `GatewayAssociationProposalArrayInput` via:

GatewayAssociationProposalArray{ GatewayAssociationProposalArgs{...} }

type GatewayAssociationProposalArrayOutput added in v3.25.0

type GatewayAssociationProposalArrayOutput struct{ *pulumi.OutputState }

func (GatewayAssociationProposalArrayOutput) ElementType added in v3.25.0

func (GatewayAssociationProposalArrayOutput) Index added in v3.25.0

func (GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutput added in v3.25.0

func (o GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutput() GatewayAssociationProposalArrayOutput

func (GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutputWithContext added in v3.25.0

func (o GatewayAssociationProposalArrayOutput) ToGatewayAssociationProposalArrayOutputWithContext(ctx context.Context) GatewayAssociationProposalArrayOutput

type GatewayAssociationProposalInput added in v3.13.0

type GatewayAssociationProposalInput interface {
	pulumi.Input

	ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput
	ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput
}

type GatewayAssociationProposalMap added in v3.25.0

type GatewayAssociationProposalMap map[string]GatewayAssociationProposalInput

func (GatewayAssociationProposalMap) ElementType added in v3.25.0

func (GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutput added in v3.25.0

func (i GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput

func (GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutputWithContext added in v3.25.0

func (i GatewayAssociationProposalMap) ToGatewayAssociationProposalMapOutputWithContext(ctx context.Context) GatewayAssociationProposalMapOutput

type GatewayAssociationProposalMapInput added in v3.25.0

type GatewayAssociationProposalMapInput interface {
	pulumi.Input

	ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput
	ToGatewayAssociationProposalMapOutputWithContext(context.Context) GatewayAssociationProposalMapOutput
}

GatewayAssociationProposalMapInput is an input type that accepts GatewayAssociationProposalMap and GatewayAssociationProposalMapOutput values. You can construct a concrete instance of `GatewayAssociationProposalMapInput` via:

GatewayAssociationProposalMap{ "key": GatewayAssociationProposalArgs{...} }

type GatewayAssociationProposalMapOutput added in v3.25.0

type GatewayAssociationProposalMapOutput struct{ *pulumi.OutputState }

func (GatewayAssociationProposalMapOutput) ElementType added in v3.25.0

func (GatewayAssociationProposalMapOutput) MapIndex added in v3.25.0

func (GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutput added in v3.25.0

func (o GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutput() GatewayAssociationProposalMapOutput

func (GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutputWithContext added in v3.25.0

func (o GatewayAssociationProposalMapOutput) ToGatewayAssociationProposalMapOutputWithContext(ctx context.Context) GatewayAssociationProposalMapOutput

type GatewayAssociationProposalOutput added in v3.13.0

type GatewayAssociationProposalOutput struct {
	*pulumi.OutputState
}

func (GatewayAssociationProposalOutput) ElementType added in v3.13.0

func (GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutput added in v3.13.0

func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutput() GatewayAssociationProposalOutput

func (GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutputWithContext added in v3.13.0

func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalOutputWithContext(ctx context.Context) GatewayAssociationProposalOutput

func (GatewayAssociationProposalOutput) ToGatewayAssociationProposalPtrOutput added in v3.25.0

func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalPtrOutput() GatewayAssociationProposalPtrOutput

func (GatewayAssociationProposalOutput) ToGatewayAssociationProposalPtrOutputWithContext added in v3.25.0

func (o GatewayAssociationProposalOutput) ToGatewayAssociationProposalPtrOutputWithContext(ctx context.Context) GatewayAssociationProposalPtrOutput

type GatewayAssociationProposalPtrInput added in v3.25.0

type GatewayAssociationProposalPtrInput interface {
	pulumi.Input

	ToGatewayAssociationProposalPtrOutput() GatewayAssociationProposalPtrOutput
	ToGatewayAssociationProposalPtrOutputWithContext(ctx context.Context) GatewayAssociationProposalPtrOutput
}

type GatewayAssociationProposalPtrOutput added in v3.25.0

type GatewayAssociationProposalPtrOutput struct {
	*pulumi.OutputState
}

func (GatewayAssociationProposalPtrOutput) ElementType added in v3.25.0

func (GatewayAssociationProposalPtrOutput) ToGatewayAssociationProposalPtrOutput added in v3.25.0

func (o GatewayAssociationProposalPtrOutput) ToGatewayAssociationProposalPtrOutput() GatewayAssociationProposalPtrOutput

func (GatewayAssociationProposalPtrOutput) ToGatewayAssociationProposalPtrOutputWithContext added in v3.25.0

func (o GatewayAssociationProposalPtrOutput) ToGatewayAssociationProposalPtrOutputWithContext(ctx context.Context) GatewayAssociationProposalPtrOutput

type GatewayAssociationProposalState

type GatewayAssociationProposalState struct {
	// VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
	AllowedPrefixes pulumi.StringArrayInput
	// The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
	AssociatedGatewayId pulumi.StringPtrInput
	// The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway.
	AssociatedGatewayOwnerAccountId pulumi.StringPtrInput
	// The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
	AssociatedGatewayType pulumi.StringPtrInput
	// Direct Connect Gateway identifier.
	DxGatewayId pulumi.StringPtrInput
	// AWS Account identifier of the Direct Connect Gateway's owner.
	DxGatewayOwnerAccountId pulumi.StringPtrInput
}

func (GatewayAssociationProposalState) ElementType

type GatewayAssociationPtrInput added in v3.25.0

type GatewayAssociationPtrInput interface {
	pulumi.Input

	ToGatewayAssociationPtrOutput() GatewayAssociationPtrOutput
	ToGatewayAssociationPtrOutputWithContext(ctx context.Context) GatewayAssociationPtrOutput
}

type GatewayAssociationPtrOutput added in v3.25.0

type GatewayAssociationPtrOutput struct {
	*pulumi.OutputState
}

func (GatewayAssociationPtrOutput) ElementType added in v3.25.0

func (GatewayAssociationPtrOutput) ToGatewayAssociationPtrOutput added in v3.25.0

func (o GatewayAssociationPtrOutput) ToGatewayAssociationPtrOutput() GatewayAssociationPtrOutput

func (GatewayAssociationPtrOutput) ToGatewayAssociationPtrOutputWithContext added in v3.25.0

func (o GatewayAssociationPtrOutput) ToGatewayAssociationPtrOutputWithContext(ctx context.Context) GatewayAssociationPtrOutput

type GatewayAssociationState

type GatewayAssociationState struct {
	// VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.
	AllowedPrefixes pulumi.StringArrayInput
	// The ID of the VGW or transit gateway with which to associate the Direct Connect gateway.
	// Used for single account Direct Connect gateway associations.
	AssociatedGatewayId pulumi.StringPtrInput
	// The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway.
	// Used for cross-account Direct Connect gateway associations.
	AssociatedGatewayOwnerAccountId pulumi.StringPtrInput
	// The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
	AssociatedGatewayType pulumi.StringPtrInput
	// The ID of the Direct Connect gateway association.
	DxGatewayAssociationId pulumi.StringPtrInput
	// The ID of the Direct Connect gateway.
	DxGatewayId pulumi.StringPtrInput
	// The ID of the AWS account that owns the Direct Connect gateway.
	DxGatewayOwnerAccountId pulumi.StringPtrInput
	// The ID of the Direct Connect gateway association proposal.
	// Used for cross-account Direct Connect gateway associations.
	ProposalId pulumi.StringPtrInput
	// Deprecated: use 'associated_gateway_id' argument instead
	VpnGatewayId pulumi.StringPtrInput
}

func (GatewayAssociationState) ElementType

func (GatewayAssociationState) ElementType() reflect.Type

type GatewayInput added in v3.13.0

type GatewayInput interface {
	pulumi.Input

	ToGatewayOutput() GatewayOutput
	ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
}

type GatewayMap added in v3.25.0

type GatewayMap map[string]GatewayInput

func (GatewayMap) ElementType added in v3.25.0

func (GatewayMap) ElementType() reflect.Type

func (GatewayMap) ToGatewayMapOutput added in v3.25.0

func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMap) ToGatewayMapOutputWithContext added in v3.25.0

func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput

type GatewayMapInput added in v3.25.0

type GatewayMapInput interface {
	pulumi.Input

	ToGatewayMapOutput() GatewayMapOutput
	ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput
}

GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:

GatewayMap{ "key": GatewayArgs{...} }

type GatewayMapOutput added in v3.25.0

type GatewayMapOutput struct{ *pulumi.OutputState }

func (GatewayMapOutput) ElementType added in v3.25.0

func (GatewayMapOutput) ElementType() reflect.Type

func (GatewayMapOutput) MapIndex added in v3.25.0

func (GatewayMapOutput) ToGatewayMapOutput added in v3.25.0

func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput

func (GatewayMapOutput) ToGatewayMapOutputWithContext added in v3.25.0

func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput

type GatewayOutput added in v3.13.0

type GatewayOutput struct {
	*pulumi.OutputState
}

func (GatewayOutput) ElementType added in v3.13.0

func (GatewayOutput) ElementType() reflect.Type

func (GatewayOutput) ToGatewayOutput added in v3.13.0

func (o GatewayOutput) ToGatewayOutput() GatewayOutput

func (GatewayOutput) ToGatewayOutputWithContext added in v3.13.0

func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput

func (GatewayOutput) ToGatewayPtrOutput added in v3.25.0

func (o GatewayOutput) ToGatewayPtrOutput() GatewayPtrOutput

func (GatewayOutput) ToGatewayPtrOutputWithContext added in v3.25.0

func (o GatewayOutput) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput

type GatewayPtrInput added in v3.25.0

type GatewayPtrInput interface {
	pulumi.Input

	ToGatewayPtrOutput() GatewayPtrOutput
	ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput
}

type GatewayPtrOutput added in v3.25.0

type GatewayPtrOutput struct {
	*pulumi.OutputState
}

func (GatewayPtrOutput) ElementType added in v3.25.0

func (GatewayPtrOutput) ElementType() reflect.Type

func (GatewayPtrOutput) ToGatewayPtrOutput added in v3.25.0

func (o GatewayPtrOutput) ToGatewayPtrOutput() GatewayPtrOutput

func (GatewayPtrOutput) ToGatewayPtrOutputWithContext added in v3.25.0

func (o GatewayPtrOutput) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput

type GatewayState

type GatewayState struct {
	// The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294.
	AmazonSideAsn pulumi.StringPtrInput
	// The name of the connection.
	Name pulumi.StringPtrInput
	// AWS Account ID of the gateway.
	OwnerAccountId pulumi.StringPtrInput
}

func (GatewayState) ElementType

func (GatewayState) ElementType() reflect.Type

type HostedPrivateVirtualInterface

type HostedPrivateVirtualInterface struct {
	pulumi.CustomResourceState

	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"`
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"`
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"`
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
	// The name for the virtual interface.
	Name pulumi.StringOutput `pulumi:"name"`
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"`
	// The VLAN ID.
	Vlan pulumi.IntOutput `pulumi:"vlan"`
}

Provides a Direct Connect hosted private virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewHostedPrivateVirtualInterface(ctx, "foo", &directconnect.HostedPrivateVirtualInterfaceArgs{
			AddressFamily: pulumi.String("ipv4"),
			BgpAsn:        pulumi.Int(65352),
			ConnectionId:  pulumi.String("dxcon-zzzzzzzz"),
			Vlan:          pulumi.Int(4094),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect hosted private virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/hostedPrivateVirtualInterface:HostedPrivateVirtualInterface test dxvif-33cc44dd

```

func GetHostedPrivateVirtualInterface

func GetHostedPrivateVirtualInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostedPrivateVirtualInterfaceState, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterface, error)

GetHostedPrivateVirtualInterface gets an existing HostedPrivateVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostedPrivateVirtualInterface

func NewHostedPrivateVirtualInterface(ctx *pulumi.Context,
	name string, args *HostedPrivateVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterface, error)

NewHostedPrivateVirtualInterface registers a new resource with the given unique name, arguments, and options.

func (*HostedPrivateVirtualInterface) ElementType added in v3.13.0

func (*HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutput added in v3.13.0

func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput

func (*HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutputWithContext added in v3.13.0

func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput

func (*HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfacePtrOutput added in v3.25.0

func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfacePtrOutput() HostedPrivateVirtualInterfacePtrOutput

func (*HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfacePtrOutputWithContext added in v3.25.0

func (i *HostedPrivateVirtualInterface) ToHostedPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfacePtrOutput

type HostedPrivateVirtualInterfaceAccepter

type HostedPrivateVirtualInterfaceAccepter struct {
	pulumi.CustomResourceState

	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrOutput `pulumi:"dxGatewayId"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"`
	// The ID of the virtual private gateway to which to connect the virtual interface.
	VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"`
}

Provides a resource to manage the accepter's side of a Direct Connect hosted private virtual interface. This resource accepts ownership of a private virtual interface created by another AWS account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := providers.Newaws(ctx, "accepter", nil)
		if err != nil {
			return err
		}
		accepterCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		vpnGw, err := ec2.NewVpnGateway(ctx, "vpnGw", nil, pulumi.Provider(aws.Accepter))
		if err != nil {
			return err
		}
		creator, err := directconnect.NewHostedPrivateVirtualInterface(ctx, "creator", &directconnect.HostedPrivateVirtualInterfaceArgs{
			ConnectionId:   pulumi.String("dxcon-zzzzzzzz"),
			OwnerAccountId: pulumi.String(accepterCallerIdentity.AccountId),
			Vlan:           pulumi.Int(4094),
			AddressFamily:  pulumi.String("ipv4"),
			BgpAsn:         pulumi.Int(65352),
		}, pulumi.DependsOn([]pulumi.Resource{
			vpnGw,
		}))
		if err != nil {
			return err
		}
		_, err = directconnect.NewHostedPrivateVirtualInterfaceAccepter(ctx, "accepterHostedPrivateVirtualInterfaceAccepter", &directconnect.HostedPrivateVirtualInterfaceAccepterArgs{
			VirtualInterfaceId: creator.ID(),
			VpnGatewayId:       vpnGw.ID(),
			Tags: pulumi.StringMap{
				"Side": pulumi.String("Accepter"),
			},
		}, pulumi.Provider(aws.Accepter))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect hosted private virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/hostedPrivateVirtualInterfaceAccepter:HostedPrivateVirtualInterfaceAccepter test dxvif-33cc44dd

```

func GetHostedPrivateVirtualInterfaceAccepter

func GetHostedPrivateVirtualInterfaceAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostedPrivateVirtualInterfaceAccepterState, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterfaceAccepter, error)

GetHostedPrivateVirtualInterfaceAccepter gets an existing HostedPrivateVirtualInterfaceAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostedPrivateVirtualInterfaceAccepter

func NewHostedPrivateVirtualInterfaceAccepter(ctx *pulumi.Context,
	name string, args *HostedPrivateVirtualInterfaceAccepterArgs, opts ...pulumi.ResourceOption) (*HostedPrivateVirtualInterfaceAccepter, error)

NewHostedPrivateVirtualInterfaceAccepter registers a new resource with the given unique name, arguments, and options.

func (*HostedPrivateVirtualInterfaceAccepter) ElementType added in v3.13.0

func (*HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutput added in v3.13.0

func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput

func (*HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext added in v3.13.0

func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput

func (*HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterPtrOutput added in v3.25.0

func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterPtrOutput() HostedPrivateVirtualInterfaceAccepterPtrOutput

func (*HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterPtrOutputWithContext added in v3.25.0

func (i *HostedPrivateVirtualInterfaceAccepter) ToHostedPrivateVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterPtrOutput

type HostedPrivateVirtualInterfaceAccepterArgs

type HostedPrivateVirtualInterfaceAccepterArgs struct {
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringInput
	// The ID of the virtual private gateway to which to connect the virtual interface.
	VpnGatewayId pulumi.StringPtrInput
}

The set of arguments for constructing a HostedPrivateVirtualInterfaceAccepter resource.

func (HostedPrivateVirtualInterfaceAccepterArgs) ElementType

type HostedPrivateVirtualInterfaceAccepterArray added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterArray []HostedPrivateVirtualInterfaceAccepterInput

func (HostedPrivateVirtualInterfaceAccepterArray) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutput added in v3.25.0

func (i HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput

func (HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext added in v3.25.0

func (i HostedPrivateVirtualInterfaceAccepterArray) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput

type HostedPrivateVirtualInterfaceAccepterArrayInput added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterArrayInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput
	ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput
}

HostedPrivateVirtualInterfaceAccepterArrayInput is an input type that accepts HostedPrivateVirtualInterfaceAccepterArray and HostedPrivateVirtualInterfaceAccepterArrayOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceAccepterArrayInput` via:

HostedPrivateVirtualInterfaceAccepterArray{ HostedPrivateVirtualInterfaceAccepterArgs{...} }

type HostedPrivateVirtualInterfaceAccepterArrayOutput added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterArrayOutput struct{ *pulumi.OutputState }

func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceAccepterArrayOutput) Index added in v3.25.0

func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutput added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutput() HostedPrivateVirtualInterfaceAccepterArrayOutput

func (HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterArrayOutput) ToHostedPrivateVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterArrayOutput

type HostedPrivateVirtualInterfaceAccepterInput added in v3.13.0

type HostedPrivateVirtualInterfaceAccepterInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput
	ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput
}

type HostedPrivateVirtualInterfaceAccepterMap added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterMap map[string]HostedPrivateVirtualInterfaceAccepterInput

func (HostedPrivateVirtualInterfaceAccepterMap) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutput added in v3.25.0

func (i HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput

func (HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext added in v3.25.0

func (i HostedPrivateVirtualInterfaceAccepterMap) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput

type HostedPrivateVirtualInterfaceAccepterMapInput added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterMapInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput
	ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput
}

HostedPrivateVirtualInterfaceAccepterMapInput is an input type that accepts HostedPrivateVirtualInterfaceAccepterMap and HostedPrivateVirtualInterfaceAccepterMapOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceAccepterMapInput` via:

HostedPrivateVirtualInterfaceAccepterMap{ "key": HostedPrivateVirtualInterfaceAccepterArgs{...} }

type HostedPrivateVirtualInterfaceAccepterMapOutput added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterMapOutput struct{ *pulumi.OutputState }

func (HostedPrivateVirtualInterfaceAccepterMapOutput) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceAccepterMapOutput) MapIndex added in v3.25.0

func (HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutput added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutput() HostedPrivateVirtualInterfaceAccepterMapOutput

func (HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterMapOutput) ToHostedPrivateVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterMapOutput

type HostedPrivateVirtualInterfaceAccepterOutput added in v3.13.0

type HostedPrivateVirtualInterfaceAccepterOutput struct {
	*pulumi.OutputState
}

func (HostedPrivateVirtualInterfaceAccepterOutput) ElementType added in v3.13.0

func (HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutput added in v3.13.0

func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutput() HostedPrivateVirtualInterfaceAccepterOutput

func (HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext added in v3.13.0

func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterOutput

func (HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutput added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutput() HostedPrivateVirtualInterfaceAccepterPtrOutput

func (HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterPtrOutput

type HostedPrivateVirtualInterfaceAccepterPtrInput added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterPtrInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfaceAccepterPtrOutput() HostedPrivateVirtualInterfaceAccepterPtrOutput
	ToHostedPrivateVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterPtrOutput
}

type HostedPrivateVirtualInterfaceAccepterPtrOutput added in v3.25.0

type HostedPrivateVirtualInterfaceAccepterPtrOutput struct {
	*pulumi.OutputState
}

func (HostedPrivateVirtualInterfaceAccepterPtrOutput) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceAccepterPtrOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutput added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterPtrOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutput() HostedPrivateVirtualInterfaceAccepterPtrOutput

func (HostedPrivateVirtualInterfaceAccepterPtrOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfaceAccepterPtrOutput) ToHostedPrivateVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceAccepterPtrOutput

type HostedPrivateVirtualInterfaceAccepterState

type HostedPrivateVirtualInterfaceAccepterState struct {
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringPtrInput
	// The ID of the virtual private gateway to which to connect the virtual interface.
	VpnGatewayId pulumi.StringPtrInput
}

func (HostedPrivateVirtualInterfaceAccepterState) ElementType

type HostedPrivateVirtualInterfaceArgs

type HostedPrivateVirtualInterfaceArgs struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringInput
	// The VLAN ID.
	Vlan pulumi.IntInput
}

The set of arguments for constructing a HostedPrivateVirtualInterface resource.

func (HostedPrivateVirtualInterfaceArgs) ElementType

type HostedPrivateVirtualInterfaceArray added in v3.25.0

type HostedPrivateVirtualInterfaceArray []HostedPrivateVirtualInterfaceInput

func (HostedPrivateVirtualInterfaceArray) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutput added in v3.25.0

func (i HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput

func (HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (i HostedPrivateVirtualInterfaceArray) ToHostedPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceArrayOutput

type HostedPrivateVirtualInterfaceArrayInput added in v3.25.0

type HostedPrivateVirtualInterfaceArrayInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput
	ToHostedPrivateVirtualInterfaceArrayOutputWithContext(context.Context) HostedPrivateVirtualInterfaceArrayOutput
}

HostedPrivateVirtualInterfaceArrayInput is an input type that accepts HostedPrivateVirtualInterfaceArray and HostedPrivateVirtualInterfaceArrayOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceArrayInput` via:

HostedPrivateVirtualInterfaceArray{ HostedPrivateVirtualInterfaceArgs{...} }

type HostedPrivateVirtualInterfaceArrayOutput added in v3.25.0

type HostedPrivateVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (HostedPrivateVirtualInterfaceArrayOutput) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceArrayOutput) Index added in v3.25.0

func (HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutput added in v3.25.0

func (o HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutput() HostedPrivateVirtualInterfaceArrayOutput

func (HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfaceArrayOutput) ToHostedPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceArrayOutput

type HostedPrivateVirtualInterfaceInput added in v3.13.0

type HostedPrivateVirtualInterfaceInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput
	ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput
}

type HostedPrivateVirtualInterfaceMap added in v3.25.0

type HostedPrivateVirtualInterfaceMap map[string]HostedPrivateVirtualInterfaceInput

func (HostedPrivateVirtualInterfaceMap) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutput added in v3.25.0

func (i HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput

func (HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutputWithContext added in v3.25.0

func (i HostedPrivateVirtualInterfaceMap) ToHostedPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceMapOutput

type HostedPrivateVirtualInterfaceMapInput added in v3.25.0

type HostedPrivateVirtualInterfaceMapInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput
	ToHostedPrivateVirtualInterfaceMapOutputWithContext(context.Context) HostedPrivateVirtualInterfaceMapOutput
}

HostedPrivateVirtualInterfaceMapInput is an input type that accepts HostedPrivateVirtualInterfaceMap and HostedPrivateVirtualInterfaceMapOutput values. You can construct a concrete instance of `HostedPrivateVirtualInterfaceMapInput` via:

HostedPrivateVirtualInterfaceMap{ "key": HostedPrivateVirtualInterfaceArgs{...} }

type HostedPrivateVirtualInterfaceMapOutput added in v3.25.0

type HostedPrivateVirtualInterfaceMapOutput struct{ *pulumi.OutputState }

func (HostedPrivateVirtualInterfaceMapOutput) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfaceMapOutput) MapIndex added in v3.25.0

func (HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutput added in v3.25.0

func (o HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutput() HostedPrivateVirtualInterfaceMapOutput

func (HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfaceMapOutput) ToHostedPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceMapOutput

type HostedPrivateVirtualInterfaceOutput added in v3.13.0

type HostedPrivateVirtualInterfaceOutput struct {
	*pulumi.OutputState
}

func (HostedPrivateVirtualInterfaceOutput) ElementType added in v3.13.0

func (HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutput added in v3.13.0

func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutput() HostedPrivateVirtualInterfaceOutput

func (HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutputWithContext added in v3.13.0

func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfaceOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfaceOutput

func (HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfacePtrOutput added in v3.25.0

func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfacePtrOutput() HostedPrivateVirtualInterfacePtrOutput

func (HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfaceOutput) ToHostedPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfacePtrOutput

type HostedPrivateVirtualInterfacePtrInput added in v3.25.0

type HostedPrivateVirtualInterfacePtrInput interface {
	pulumi.Input

	ToHostedPrivateVirtualInterfacePtrOutput() HostedPrivateVirtualInterfacePtrOutput
	ToHostedPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfacePtrOutput
}

type HostedPrivateVirtualInterfacePtrOutput added in v3.25.0

type HostedPrivateVirtualInterfacePtrOutput struct {
	*pulumi.OutputState
}

func (HostedPrivateVirtualInterfacePtrOutput) ElementType added in v3.25.0

func (HostedPrivateVirtualInterfacePtrOutput) ToHostedPrivateVirtualInterfacePtrOutput added in v3.25.0

func (o HostedPrivateVirtualInterfacePtrOutput) ToHostedPrivateVirtualInterfacePtrOutput() HostedPrivateVirtualInterfacePtrOutput

func (HostedPrivateVirtualInterfacePtrOutput) ToHostedPrivateVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o HostedPrivateVirtualInterfacePtrOutput) ToHostedPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPrivateVirtualInterfacePtrOutput

type HostedPrivateVirtualInterfaceState

type HostedPrivateVirtualInterfaceState struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringPtrInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	AmazonSideAsn pulumi.StringPtrInput
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntPtrInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable pulumi.BoolPtrInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringPtrInput
	// The VLAN ID.
	Vlan pulumi.IntPtrInput
}

func (HostedPrivateVirtualInterfaceState) ElementType

type HostedPublicVirtualInterface

type HostedPublicVirtualInterface struct {
	pulumi.CustomResourceState

	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"`
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"`
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// The name for the virtual interface.
	Name pulumi.StringOutput `pulumi:"name"`
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"`
	// A list of routes to be advertised to the AWS network in this region.
	RouteFilterPrefixes pulumi.StringArrayOutput `pulumi:"routeFilterPrefixes"`
	// The VLAN ID.
	Vlan pulumi.IntOutput `pulumi:"vlan"`
}

Provides a Direct Connect hosted public virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewHostedPublicVirtualInterface(ctx, "foo", &directconnect.HostedPublicVirtualInterfaceArgs{
			AddressFamily:   pulumi.String("ipv4"),
			AmazonAddress:   pulumi.String("175.45.176.2/30"),
			BgpAsn:          pulumi.Int(65352),
			ConnectionId:    pulumi.String("dxcon-zzzzzzzz"),
			CustomerAddress: pulumi.String("175.45.176.1/30"),
			RouteFilterPrefixes: pulumi.StringArray{
				pulumi.String("210.52.109.0/24"),
				pulumi.String("175.45.176.0/22"),
			},
			Vlan: pulumi.Int(4094),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect hosted public virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/hostedPublicVirtualInterface:HostedPublicVirtualInterface test dxvif-33cc44dd

```

func GetHostedPublicVirtualInterface

func GetHostedPublicVirtualInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostedPublicVirtualInterfaceState, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterface, error)

GetHostedPublicVirtualInterface gets an existing HostedPublicVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostedPublicVirtualInterface

func NewHostedPublicVirtualInterface(ctx *pulumi.Context,
	name string, args *HostedPublicVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterface, error)

NewHostedPublicVirtualInterface registers a new resource with the given unique name, arguments, and options.

func (*HostedPublicVirtualInterface) ElementType added in v3.13.0

func (*HostedPublicVirtualInterface) ElementType() reflect.Type

func (*HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutput added in v3.13.0

func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput

func (*HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutputWithContext added in v3.13.0

func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput

func (*HostedPublicVirtualInterface) ToHostedPublicVirtualInterfacePtrOutput added in v3.25.0

func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfacePtrOutput() HostedPublicVirtualInterfacePtrOutput

func (*HostedPublicVirtualInterface) ToHostedPublicVirtualInterfacePtrOutputWithContext added in v3.25.0

func (i *HostedPublicVirtualInterface) ToHostedPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfacePtrOutput

type HostedPublicVirtualInterfaceAccepter

type HostedPublicVirtualInterfaceAccepter struct {
	pulumi.CustomResourceState

	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"`
}

Provides a resource to manage the accepter's side of a Direct Connect hosted public virtual interface. This resource accepts ownership of a public virtual interface created by another AWS account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := providers.Newaws(ctx, "accepter", nil)
		if err != nil {
			return err
		}
		accepterCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		creator, err := directconnect.NewHostedPublicVirtualInterface(ctx, "creator", &directconnect.HostedPublicVirtualInterfaceArgs{
			ConnectionId:    pulumi.String("dxcon-zzzzzzzz"),
			OwnerAccountId:  pulumi.String(accepterCallerIdentity.AccountId),
			Vlan:            pulumi.Int(4094),
			AddressFamily:   pulumi.String("ipv4"),
			BgpAsn:          pulumi.Int(65352),
			CustomerAddress: pulumi.String("175.45.176.1/30"),
			AmazonAddress:   pulumi.String("175.45.176.2/30"),
			RouteFilterPrefixes: pulumi.StringArray{
				pulumi.String("210.52.109.0/24"),
				pulumi.String("175.45.176.0/22"),
			},
		})
		if err != nil {
			return err
		}
		_, err = directconnect.NewHostedPublicVirtualInterfaceAccepter(ctx, "accepterHostedPublicVirtualInterfaceAccepter", &directconnect.HostedPublicVirtualInterfaceAccepterArgs{
			VirtualInterfaceId: creator.ID(),
			Tags: pulumi.StringMap{
				"Side": pulumi.String("Accepter"),
			},
		}, pulumi.Provider(aws.Accepter))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect hosted public virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/hostedPublicVirtualInterfaceAccepter:HostedPublicVirtualInterfaceAccepter test dxvif-33cc44dd

```

func GetHostedPublicVirtualInterfaceAccepter

func GetHostedPublicVirtualInterfaceAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostedPublicVirtualInterfaceAccepterState, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterfaceAccepter, error)

GetHostedPublicVirtualInterfaceAccepter gets an existing HostedPublicVirtualInterfaceAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostedPublicVirtualInterfaceAccepter

func NewHostedPublicVirtualInterfaceAccepter(ctx *pulumi.Context,
	name string, args *HostedPublicVirtualInterfaceAccepterArgs, opts ...pulumi.ResourceOption) (*HostedPublicVirtualInterfaceAccepter, error)

NewHostedPublicVirtualInterfaceAccepter registers a new resource with the given unique name, arguments, and options.

func (*HostedPublicVirtualInterfaceAccepter) ElementType added in v3.13.0

func (*HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutput added in v3.13.0

func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput

func (*HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutputWithContext added in v3.13.0

func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput

func (*HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterPtrOutput added in v3.25.0

func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterPtrOutput() HostedPublicVirtualInterfaceAccepterPtrOutput

func (*HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterPtrOutputWithContext added in v3.25.0

func (i *HostedPublicVirtualInterfaceAccepter) ToHostedPublicVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterPtrOutput

type HostedPublicVirtualInterfaceAccepterArgs

type HostedPublicVirtualInterfaceAccepterArgs struct {
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringInput
}

The set of arguments for constructing a HostedPublicVirtualInterfaceAccepter resource.

func (HostedPublicVirtualInterfaceAccepterArgs) ElementType

type HostedPublicVirtualInterfaceAccepterArray added in v3.25.0

type HostedPublicVirtualInterfaceAccepterArray []HostedPublicVirtualInterfaceAccepterInput

func (HostedPublicVirtualInterfaceAccepterArray) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutput added in v3.25.0

func (i HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput

func (HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext added in v3.25.0

func (i HostedPublicVirtualInterfaceAccepterArray) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput

type HostedPublicVirtualInterfaceAccepterArrayInput added in v3.25.0

type HostedPublicVirtualInterfaceAccepterArrayInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput
	ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput
}

HostedPublicVirtualInterfaceAccepterArrayInput is an input type that accepts HostedPublicVirtualInterfaceAccepterArray and HostedPublicVirtualInterfaceAccepterArrayOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceAccepterArrayInput` via:

HostedPublicVirtualInterfaceAccepterArray{ HostedPublicVirtualInterfaceAccepterArgs{...} }

type HostedPublicVirtualInterfaceAccepterArrayOutput added in v3.25.0

type HostedPublicVirtualInterfaceAccepterArrayOutput struct{ *pulumi.OutputState }

func (HostedPublicVirtualInterfaceAccepterArrayOutput) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceAccepterArrayOutput) Index added in v3.25.0

func (HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutput added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutput() HostedPublicVirtualInterfaceAccepterArrayOutput

func (HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterArrayOutput) ToHostedPublicVirtualInterfaceAccepterArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterArrayOutput

type HostedPublicVirtualInterfaceAccepterInput added in v3.13.0

type HostedPublicVirtualInterfaceAccepterInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput
	ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput
}

type HostedPublicVirtualInterfaceAccepterMap added in v3.25.0

type HostedPublicVirtualInterfaceAccepterMap map[string]HostedPublicVirtualInterfaceAccepterInput

func (HostedPublicVirtualInterfaceAccepterMap) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutput added in v3.25.0

func (i HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput

func (HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext added in v3.25.0

func (i HostedPublicVirtualInterfaceAccepterMap) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterMapOutput

type HostedPublicVirtualInterfaceAccepterMapInput added in v3.25.0

type HostedPublicVirtualInterfaceAccepterMapInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput
	ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(context.Context) HostedPublicVirtualInterfaceAccepterMapOutput
}

HostedPublicVirtualInterfaceAccepterMapInput is an input type that accepts HostedPublicVirtualInterfaceAccepterMap and HostedPublicVirtualInterfaceAccepterMapOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceAccepterMapInput` via:

HostedPublicVirtualInterfaceAccepterMap{ "key": HostedPublicVirtualInterfaceAccepterArgs{...} }

type HostedPublicVirtualInterfaceAccepterMapOutput added in v3.25.0

type HostedPublicVirtualInterfaceAccepterMapOutput struct{ *pulumi.OutputState }

func (HostedPublicVirtualInterfaceAccepterMapOutput) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceAccepterMapOutput) MapIndex added in v3.25.0

func (HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutput added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutput() HostedPublicVirtualInterfaceAccepterMapOutput

func (HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterMapOutput) ToHostedPublicVirtualInterfaceAccepterMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterMapOutput

type HostedPublicVirtualInterfaceAccepterOutput added in v3.13.0

type HostedPublicVirtualInterfaceAccepterOutput struct {
	*pulumi.OutputState
}

func (HostedPublicVirtualInterfaceAccepterOutput) ElementType added in v3.13.0

func (HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutput added in v3.13.0

func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutput() HostedPublicVirtualInterfaceAccepterOutput

func (HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutputWithContext added in v3.13.0

func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterOutput

func (HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutput added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutput() HostedPublicVirtualInterfaceAccepterPtrOutput

func (HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterPtrOutput

type HostedPublicVirtualInterfaceAccepterPtrInput added in v3.25.0

type HostedPublicVirtualInterfaceAccepterPtrInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfaceAccepterPtrOutput() HostedPublicVirtualInterfaceAccepterPtrOutput
	ToHostedPublicVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterPtrOutput
}

type HostedPublicVirtualInterfaceAccepterPtrOutput added in v3.25.0

type HostedPublicVirtualInterfaceAccepterPtrOutput struct {
	*pulumi.OutputState
}

func (HostedPublicVirtualInterfaceAccepterPtrOutput) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceAccepterPtrOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutput added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterPtrOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutput() HostedPublicVirtualInterfaceAccepterPtrOutput

func (HostedPublicVirtualInterfaceAccepterPtrOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfaceAccepterPtrOutput) ToHostedPublicVirtualInterfaceAccepterPtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceAccepterPtrOutput

type HostedPublicVirtualInterfaceAccepterState

type HostedPublicVirtualInterfaceAccepterState struct {
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringPtrInput
}

func (HostedPublicVirtualInterfaceAccepterState) ElementType

type HostedPublicVirtualInterfaceArgs

type HostedPublicVirtualInterfaceArgs struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringInput
	// A list of routes to be advertised to the AWS network in this region.
	RouteFilterPrefixes pulumi.StringArrayInput
	// The VLAN ID.
	Vlan pulumi.IntInput
}

The set of arguments for constructing a HostedPublicVirtualInterface resource.

func (HostedPublicVirtualInterfaceArgs) ElementType

type HostedPublicVirtualInterfaceArray added in v3.25.0

type HostedPublicVirtualInterfaceArray []HostedPublicVirtualInterfaceInput

func (HostedPublicVirtualInterfaceArray) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutput added in v3.25.0

func (i HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput

func (HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (i HostedPublicVirtualInterfaceArray) ToHostedPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceArrayOutput

type HostedPublicVirtualInterfaceArrayInput added in v3.25.0

type HostedPublicVirtualInterfaceArrayInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput
	ToHostedPublicVirtualInterfaceArrayOutputWithContext(context.Context) HostedPublicVirtualInterfaceArrayOutput
}

HostedPublicVirtualInterfaceArrayInput is an input type that accepts HostedPublicVirtualInterfaceArray and HostedPublicVirtualInterfaceArrayOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceArrayInput` via:

HostedPublicVirtualInterfaceArray{ HostedPublicVirtualInterfaceArgs{...} }

type HostedPublicVirtualInterfaceArrayOutput added in v3.25.0

type HostedPublicVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (HostedPublicVirtualInterfaceArrayOutput) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceArrayOutput) Index added in v3.25.0

func (HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutput added in v3.25.0

func (o HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutput() HostedPublicVirtualInterfaceArrayOutput

func (HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfaceArrayOutput) ToHostedPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceArrayOutput

type HostedPublicVirtualInterfaceInput added in v3.13.0

type HostedPublicVirtualInterfaceInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput
	ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput
}

type HostedPublicVirtualInterfaceMap added in v3.25.0

type HostedPublicVirtualInterfaceMap map[string]HostedPublicVirtualInterfaceInput

func (HostedPublicVirtualInterfaceMap) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutput added in v3.25.0

func (i HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput

func (HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutputWithContext added in v3.25.0

func (i HostedPublicVirtualInterfaceMap) ToHostedPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceMapOutput

type HostedPublicVirtualInterfaceMapInput added in v3.25.0

type HostedPublicVirtualInterfaceMapInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput
	ToHostedPublicVirtualInterfaceMapOutputWithContext(context.Context) HostedPublicVirtualInterfaceMapOutput
}

HostedPublicVirtualInterfaceMapInput is an input type that accepts HostedPublicVirtualInterfaceMap and HostedPublicVirtualInterfaceMapOutput values. You can construct a concrete instance of `HostedPublicVirtualInterfaceMapInput` via:

HostedPublicVirtualInterfaceMap{ "key": HostedPublicVirtualInterfaceArgs{...} }

type HostedPublicVirtualInterfaceMapOutput added in v3.25.0

type HostedPublicVirtualInterfaceMapOutput struct{ *pulumi.OutputState }

func (HostedPublicVirtualInterfaceMapOutput) ElementType added in v3.25.0

func (HostedPublicVirtualInterfaceMapOutput) MapIndex added in v3.25.0

func (HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutput added in v3.25.0

func (o HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutput() HostedPublicVirtualInterfaceMapOutput

func (HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfaceMapOutput) ToHostedPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceMapOutput

type HostedPublicVirtualInterfaceOutput added in v3.13.0

type HostedPublicVirtualInterfaceOutput struct {
	*pulumi.OutputState
}

func (HostedPublicVirtualInterfaceOutput) ElementType added in v3.13.0

func (HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutput added in v3.13.0

func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutput() HostedPublicVirtualInterfaceOutput

func (HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutputWithContext added in v3.13.0

func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfaceOutputWithContext(ctx context.Context) HostedPublicVirtualInterfaceOutput

func (HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfacePtrOutput added in v3.25.0

func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfacePtrOutput() HostedPublicVirtualInterfacePtrOutput

func (HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfaceOutput) ToHostedPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfacePtrOutput

type HostedPublicVirtualInterfacePtrInput added in v3.25.0

type HostedPublicVirtualInterfacePtrInput interface {
	pulumi.Input

	ToHostedPublicVirtualInterfacePtrOutput() HostedPublicVirtualInterfacePtrOutput
	ToHostedPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfacePtrOutput
}

type HostedPublicVirtualInterfacePtrOutput added in v3.25.0

type HostedPublicVirtualInterfacePtrOutput struct {
	*pulumi.OutputState
}

func (HostedPublicVirtualInterfacePtrOutput) ElementType added in v3.25.0

func (HostedPublicVirtualInterfacePtrOutput) ToHostedPublicVirtualInterfacePtrOutput added in v3.25.0

func (o HostedPublicVirtualInterfacePtrOutput) ToHostedPublicVirtualInterfacePtrOutput() HostedPublicVirtualInterfacePtrOutput

func (HostedPublicVirtualInterfacePtrOutput) ToHostedPublicVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o HostedPublicVirtualInterfacePtrOutput) ToHostedPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedPublicVirtualInterfacePtrOutput

type HostedPublicVirtualInterfaceState

type HostedPublicVirtualInterfaceState struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringPtrInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	AmazonSideAsn pulumi.StringPtrInput
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntPtrInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringPtrInput
	// A list of routes to be advertised to the AWS network in this region.
	RouteFilterPrefixes pulumi.StringArrayInput
	// The VLAN ID.
	Vlan pulumi.IntPtrInput
}

func (HostedPublicVirtualInterfaceState) ElementType

type HostedTransitVirtualInterface

type HostedTransitVirtualInterface struct {
	pulumi.CustomResourceState

	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"`
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"`
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// Indicates whether jumbo frames (8500 MTU) are supported.
	JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"`
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
	// The name for the virtual interface.
	Name pulumi.StringOutput `pulumi:"name"`
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringOutput `pulumi:"ownerAccountId"`
	// The VLAN ID.
	Vlan pulumi.IntOutput `pulumi:"vlan"`
}

Provides a Direct Connect hosted transit virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewHostedTransitVirtualInterface(ctx, "example", &directconnect.HostedTransitVirtualInterfaceArgs{
			ConnectionId:  pulumi.Any(aws_dx_connection.Example.Id),
			Vlan:          pulumi.Int(4094),
			AddressFamily: pulumi.String("ipv4"),
			BgpAsn:        pulumi.Int(65352),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect hosted transit virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/hostedTransitVirtualInterface:HostedTransitVirtualInterface test dxvif-33cc44dd

```

func GetHostedTransitVirtualInterface

func GetHostedTransitVirtualInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostedTransitVirtualInterfaceState, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterface, error)

GetHostedTransitVirtualInterface gets an existing HostedTransitVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostedTransitVirtualInterface

func NewHostedTransitVirtualInterface(ctx *pulumi.Context,
	name string, args *HostedTransitVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterface, error)

NewHostedTransitVirtualInterface registers a new resource with the given unique name, arguments, and options.

func (*HostedTransitVirtualInterface) ElementType added in v3.13.0

func (*HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutput added in v3.13.0

func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput

func (*HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutputWithContext added in v3.13.0

func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput

func (*HostedTransitVirtualInterface) ToHostedTransitVirtualInterfacePtrOutput added in v3.25.0

func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfacePtrOutput() HostedTransitVirtualInterfacePtrOutput

func (*HostedTransitVirtualInterface) ToHostedTransitVirtualInterfacePtrOutputWithContext added in v3.25.0

func (i *HostedTransitVirtualInterface) ToHostedTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfacePtrOutput

type HostedTransitVirtualInterfaceAcceptor

type HostedTransitVirtualInterfaceAcceptor struct {
	pulumi.CustomResourceState

	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringOutput `pulumi:"virtualInterfaceId"`
}

Provides a resource to manage the accepter's side of a Direct Connect hosted transit virtual interface. This resource accepts ownership of a transit virtual interface created by another AWS account.

> **NOTE:** AWS allows a Direct Connect hosted transit virtual interface to be deleted from either the allocator's or accepter's side. However, this provider only allows the Direct Connect hosted transit virtual interface to be deleted from the allocator's side by removing the corresponding `directconnect.HostedTransitVirtualInterface` resource from your configuration. Removing a `directconnect.HostedTransitVirtualInterfaceAcceptor` resource from your configuration will remove it from your statefile and management, **but will not delete the Direct Connect virtual interface.**

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := providers.Newaws(ctx, "accepter", nil)
		if err != nil {
			return err
		}
		accepterCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{
			AmazonSideAsn: pulumi.String("64512"),
		}, pulumi.Provider(aws.Accepter))
		if err != nil {
			return err
		}
		creator, err := directconnect.NewHostedTransitVirtualInterface(ctx, "creator", &directconnect.HostedTransitVirtualInterfaceArgs{
			ConnectionId:   pulumi.String("dxcon-zzzzzzzz"),
			OwnerAccountId: pulumi.String(accepterCallerIdentity.AccountId),
			Vlan:           pulumi.Int(4094),
			AddressFamily:  pulumi.String("ipv4"),
			BgpAsn:         pulumi.Int(65352),
		}, pulumi.DependsOn([]pulumi.Resource{
			example,
		}))
		if err != nil {
			return err
		}
		_, err = directconnect.NewHostedTransitVirtualInterfaceAcceptor(ctx, "accepterHostedTransitVirtualInterfaceAcceptor", &directconnect.HostedTransitVirtualInterfaceAcceptorArgs{
			VirtualInterfaceId: creator.ID(),
			DxGatewayId:        example.ID(),
			Tags: pulumi.StringMap{
				"Side": pulumi.String("Accepter"),
			},
		}, pulumi.Provider(aws.Accepter))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect hosted transit virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/hostedTransitVirtualInterfaceAcceptor:HostedTransitVirtualInterfaceAcceptor test dxvif-33cc44dd

```

func GetHostedTransitVirtualInterfaceAcceptor

func GetHostedTransitVirtualInterfaceAcceptor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostedTransitVirtualInterfaceAcceptorState, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterfaceAcceptor, error)

GetHostedTransitVirtualInterfaceAcceptor gets an existing HostedTransitVirtualInterfaceAcceptor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostedTransitVirtualInterfaceAcceptor

func NewHostedTransitVirtualInterfaceAcceptor(ctx *pulumi.Context,
	name string, args *HostedTransitVirtualInterfaceAcceptorArgs, opts ...pulumi.ResourceOption) (*HostedTransitVirtualInterfaceAcceptor, error)

NewHostedTransitVirtualInterfaceAcceptor registers a new resource with the given unique name, arguments, and options.

func (*HostedTransitVirtualInterfaceAcceptor) ElementType added in v3.13.0

func (*HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutput added in v3.13.0

func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput

func (*HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext added in v3.13.0

func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput

func (*HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorPtrOutput added in v3.25.0

func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorPtrOutput() HostedTransitVirtualInterfaceAcceptorPtrOutput

func (*HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorPtrOutputWithContext added in v3.25.0

func (i *HostedTransitVirtualInterfaceAcceptor) ToHostedTransitVirtualInterfaceAcceptorPtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorPtrOutput

type HostedTransitVirtualInterfaceAcceptorArgs

type HostedTransitVirtualInterfaceAcceptorArgs struct {
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringInput
}

The set of arguments for constructing a HostedTransitVirtualInterfaceAcceptor resource.

func (HostedTransitVirtualInterfaceAcceptorArgs) ElementType

type HostedTransitVirtualInterfaceAcceptorArray added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorArray []HostedTransitVirtualInterfaceAcceptorInput

func (HostedTransitVirtualInterfaceAcceptorArray) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutput added in v3.25.0

func (i HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput

func (HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext added in v3.25.0

func (i HostedTransitVirtualInterfaceAcceptorArray) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput

type HostedTransitVirtualInterfaceAcceptorArrayInput added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorArrayInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput
	ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput
}

HostedTransitVirtualInterfaceAcceptorArrayInput is an input type that accepts HostedTransitVirtualInterfaceAcceptorArray and HostedTransitVirtualInterfaceAcceptorArrayOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceAcceptorArrayInput` via:

HostedTransitVirtualInterfaceAcceptorArray{ HostedTransitVirtualInterfaceAcceptorArgs{...} }

type HostedTransitVirtualInterfaceAcceptorArrayOutput added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorArrayOutput struct{ *pulumi.OutputState }

func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceAcceptorArrayOutput) Index added in v3.25.0

func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutput added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutput() HostedTransitVirtualInterfaceAcceptorArrayOutput

func (HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorArrayOutput) ToHostedTransitVirtualInterfaceAcceptorArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorArrayOutput

type HostedTransitVirtualInterfaceAcceptorInput added in v3.13.0

type HostedTransitVirtualInterfaceAcceptorInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput
	ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput
}

type HostedTransitVirtualInterfaceAcceptorMap added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorMap map[string]HostedTransitVirtualInterfaceAcceptorInput

func (HostedTransitVirtualInterfaceAcceptorMap) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutput added in v3.25.0

func (i HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput

func (HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext added in v3.25.0

func (i HostedTransitVirtualInterfaceAcceptorMap) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput

type HostedTransitVirtualInterfaceAcceptorMapInput added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorMapInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput
	ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput
}

HostedTransitVirtualInterfaceAcceptorMapInput is an input type that accepts HostedTransitVirtualInterfaceAcceptorMap and HostedTransitVirtualInterfaceAcceptorMapOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceAcceptorMapInput` via:

HostedTransitVirtualInterfaceAcceptorMap{ "key": HostedTransitVirtualInterfaceAcceptorArgs{...} }

type HostedTransitVirtualInterfaceAcceptorMapOutput added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorMapOutput struct{ *pulumi.OutputState }

func (HostedTransitVirtualInterfaceAcceptorMapOutput) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceAcceptorMapOutput) MapIndex added in v3.25.0

func (HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutput added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutput() HostedTransitVirtualInterfaceAcceptorMapOutput

func (HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorMapOutput) ToHostedTransitVirtualInterfaceAcceptorMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorMapOutput

type HostedTransitVirtualInterfaceAcceptorOutput added in v3.13.0

type HostedTransitVirtualInterfaceAcceptorOutput struct {
	*pulumi.OutputState
}

func (HostedTransitVirtualInterfaceAcceptorOutput) ElementType added in v3.13.0

func (HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutput added in v3.13.0

func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutput() HostedTransitVirtualInterfaceAcceptorOutput

func (HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext added in v3.13.0

func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorOutput

func (HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutput added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutput() HostedTransitVirtualInterfaceAcceptorPtrOutput

func (HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorPtrOutput

type HostedTransitVirtualInterfaceAcceptorPtrInput added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorPtrInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfaceAcceptorPtrOutput() HostedTransitVirtualInterfaceAcceptorPtrOutput
	ToHostedTransitVirtualInterfaceAcceptorPtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorPtrOutput
}

type HostedTransitVirtualInterfaceAcceptorPtrOutput added in v3.25.0

type HostedTransitVirtualInterfaceAcceptorPtrOutput struct {
	*pulumi.OutputState
}

func (HostedTransitVirtualInterfaceAcceptorPtrOutput) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceAcceptorPtrOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutput added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorPtrOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutput() HostedTransitVirtualInterfaceAcceptorPtrOutput

func (HostedTransitVirtualInterfaceAcceptorPtrOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfaceAcceptorPtrOutput) ToHostedTransitVirtualInterfaceAcceptorPtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceAcceptorPtrOutput

type HostedTransitVirtualInterfaceAcceptorState

type HostedTransitVirtualInterfaceAcceptorState struct {
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The ID of the Direct Connect virtual interface to accept.
	VirtualInterfaceId pulumi.StringPtrInput
}

func (HostedTransitVirtualInterfaceAcceptorState) ElementType

type HostedTransitVirtualInterfaceArgs

type HostedTransitVirtualInterfaceArgs struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringInput
	// The VLAN ID.
	Vlan pulumi.IntInput
}

The set of arguments for constructing a HostedTransitVirtualInterface resource.

func (HostedTransitVirtualInterfaceArgs) ElementType

type HostedTransitVirtualInterfaceArray added in v3.25.0

type HostedTransitVirtualInterfaceArray []HostedTransitVirtualInterfaceInput

func (HostedTransitVirtualInterfaceArray) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutput added in v3.25.0

func (i HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput

func (HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (i HostedTransitVirtualInterfaceArray) ToHostedTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceArrayOutput

type HostedTransitVirtualInterfaceArrayInput added in v3.25.0

type HostedTransitVirtualInterfaceArrayInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput
	ToHostedTransitVirtualInterfaceArrayOutputWithContext(context.Context) HostedTransitVirtualInterfaceArrayOutput
}

HostedTransitVirtualInterfaceArrayInput is an input type that accepts HostedTransitVirtualInterfaceArray and HostedTransitVirtualInterfaceArrayOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceArrayInput` via:

HostedTransitVirtualInterfaceArray{ HostedTransitVirtualInterfaceArgs{...} }

type HostedTransitVirtualInterfaceArrayOutput added in v3.25.0

type HostedTransitVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (HostedTransitVirtualInterfaceArrayOutput) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceArrayOutput) Index added in v3.25.0

func (HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutput added in v3.25.0

func (o HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutput() HostedTransitVirtualInterfaceArrayOutput

func (HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfaceArrayOutput) ToHostedTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceArrayOutput

type HostedTransitVirtualInterfaceInput added in v3.13.0

type HostedTransitVirtualInterfaceInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput
	ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput
}

type HostedTransitVirtualInterfaceMap added in v3.25.0

type HostedTransitVirtualInterfaceMap map[string]HostedTransitVirtualInterfaceInput

func (HostedTransitVirtualInterfaceMap) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutput added in v3.25.0

func (i HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput

func (HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutputWithContext added in v3.25.0

func (i HostedTransitVirtualInterfaceMap) ToHostedTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceMapOutput

type HostedTransitVirtualInterfaceMapInput added in v3.25.0

type HostedTransitVirtualInterfaceMapInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput
	ToHostedTransitVirtualInterfaceMapOutputWithContext(context.Context) HostedTransitVirtualInterfaceMapOutput
}

HostedTransitVirtualInterfaceMapInput is an input type that accepts HostedTransitVirtualInterfaceMap and HostedTransitVirtualInterfaceMapOutput values. You can construct a concrete instance of `HostedTransitVirtualInterfaceMapInput` via:

HostedTransitVirtualInterfaceMap{ "key": HostedTransitVirtualInterfaceArgs{...} }

type HostedTransitVirtualInterfaceMapOutput added in v3.25.0

type HostedTransitVirtualInterfaceMapOutput struct{ *pulumi.OutputState }

func (HostedTransitVirtualInterfaceMapOutput) ElementType added in v3.25.0

func (HostedTransitVirtualInterfaceMapOutput) MapIndex added in v3.25.0

func (HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutput added in v3.25.0

func (o HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutput() HostedTransitVirtualInterfaceMapOutput

func (HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfaceMapOutput) ToHostedTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceMapOutput

type HostedTransitVirtualInterfaceOutput added in v3.13.0

type HostedTransitVirtualInterfaceOutput struct {
	*pulumi.OutputState
}

func (HostedTransitVirtualInterfaceOutput) ElementType added in v3.13.0

func (HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutput added in v3.13.0

func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutput() HostedTransitVirtualInterfaceOutput

func (HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutputWithContext added in v3.13.0

func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfaceOutputWithContext(ctx context.Context) HostedTransitVirtualInterfaceOutput

func (HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfacePtrOutput added in v3.25.0

func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfacePtrOutput() HostedTransitVirtualInterfacePtrOutput

func (HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfaceOutput) ToHostedTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfacePtrOutput

type HostedTransitVirtualInterfacePtrInput added in v3.25.0

type HostedTransitVirtualInterfacePtrInput interface {
	pulumi.Input

	ToHostedTransitVirtualInterfacePtrOutput() HostedTransitVirtualInterfacePtrOutput
	ToHostedTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfacePtrOutput
}

type HostedTransitVirtualInterfacePtrOutput added in v3.25.0

type HostedTransitVirtualInterfacePtrOutput struct {
	*pulumi.OutputState
}

func (HostedTransitVirtualInterfacePtrOutput) ElementType added in v3.25.0

func (HostedTransitVirtualInterfacePtrOutput) ToHostedTransitVirtualInterfacePtrOutput added in v3.25.0

func (o HostedTransitVirtualInterfacePtrOutput) ToHostedTransitVirtualInterfacePtrOutput() HostedTransitVirtualInterfacePtrOutput

func (HostedTransitVirtualInterfacePtrOutput) ToHostedTransitVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o HostedTransitVirtualInterfacePtrOutput) ToHostedTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) HostedTransitVirtualInterfacePtrOutput

type HostedTransitVirtualInterfaceState

type HostedTransitVirtualInterfaceState struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringPtrInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	AmazonSideAsn pulumi.StringPtrInput
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntPtrInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// Indicates whether jumbo frames (8500 MTU) are supported.
	JumboFrameCapable pulumi.BoolPtrInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// The AWS account that will own the new virtual interface.
	OwnerAccountId pulumi.StringPtrInput
	// The VLAN ID.
	Vlan pulumi.IntPtrInput
}

func (HostedTransitVirtualInterfaceState) ElementType

type LinkAggregationGroup

type LinkAggregationGroup struct {
	pulumi.CustomResourceState

	// The ARN of the LAG.
	// * `jumboFrameCapable` -Indicates whether jumbo frames (9001 MTU) are supported.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
	ConnectionsBandwidth pulumi.StringOutput `pulumi:"connectionsBandwidth"`
	// A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
	HasLogicalRedundancy pulumi.StringOutput `pulumi:"hasLogicalRedundancy"`
	JumboFrameCapable    pulumi.BoolOutput   `pulumi:"jumboFrameCapable"`
	// The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the LAG.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a Direct Connect LAG. Connections can be added to the LAG via the `directconnect.Connection` and `directconnect.ConnectionAssociation` resources.

> *NOTE:* When creating a LAG, Direct Connect requires creating a Connection. This provider will remove this unmanaged connection during resource creation.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewLinkAggregationGroup(ctx, "hoge", &directconnect.LinkAggregationGroupArgs{
			ConnectionsBandwidth: pulumi.String("1Gbps"),
			ForceDestroy:         pulumi.Bool(true),
			Location:             pulumi.String("EqDC2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect LAGs can be imported using the `lag id`, e.g.

```sh

$ pulumi import aws:directconnect/linkAggregationGroup:LinkAggregationGroup test_lag dxlag-fgnsp5rq

```

func GetLinkAggregationGroup

func GetLinkAggregationGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LinkAggregationGroupState, opts ...pulumi.ResourceOption) (*LinkAggregationGroup, error)

GetLinkAggregationGroup gets an existing LinkAggregationGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLinkAggregationGroup

func NewLinkAggregationGroup(ctx *pulumi.Context,
	name string, args *LinkAggregationGroupArgs, opts ...pulumi.ResourceOption) (*LinkAggregationGroup, error)

NewLinkAggregationGroup registers a new resource with the given unique name, arguments, and options.

func (*LinkAggregationGroup) ElementType added in v3.13.0

func (*LinkAggregationGroup) ElementType() reflect.Type

func (*LinkAggregationGroup) ToLinkAggregationGroupOutput added in v3.13.0

func (i *LinkAggregationGroup) ToLinkAggregationGroupOutput() LinkAggregationGroupOutput

func (*LinkAggregationGroup) ToLinkAggregationGroupOutputWithContext added in v3.13.0

func (i *LinkAggregationGroup) ToLinkAggregationGroupOutputWithContext(ctx context.Context) LinkAggregationGroupOutput

func (*LinkAggregationGroup) ToLinkAggregationGroupPtrOutput added in v3.25.0

func (i *LinkAggregationGroup) ToLinkAggregationGroupPtrOutput() LinkAggregationGroupPtrOutput

func (*LinkAggregationGroup) ToLinkAggregationGroupPtrOutputWithContext added in v3.25.0

func (i *LinkAggregationGroup) ToLinkAggregationGroupPtrOutputWithContext(ctx context.Context) LinkAggregationGroupPtrOutput

type LinkAggregationGroupArgs

type LinkAggregationGroupArgs struct {
	// The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
	ConnectionsBandwidth pulumi.StringInput
	// A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
	ForceDestroy pulumi.BoolPtrInput
	// The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
	Location pulumi.StringInput
	// The name of the LAG.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LinkAggregationGroup resource.

func (LinkAggregationGroupArgs) ElementType

func (LinkAggregationGroupArgs) ElementType() reflect.Type

type LinkAggregationGroupArray added in v3.25.0

type LinkAggregationGroupArray []LinkAggregationGroupInput

func (LinkAggregationGroupArray) ElementType added in v3.25.0

func (LinkAggregationGroupArray) ElementType() reflect.Type

func (LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutput added in v3.25.0

func (i LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutput() LinkAggregationGroupArrayOutput

func (LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutputWithContext added in v3.25.0

func (i LinkAggregationGroupArray) ToLinkAggregationGroupArrayOutputWithContext(ctx context.Context) LinkAggregationGroupArrayOutput

type LinkAggregationGroupArrayInput added in v3.25.0

type LinkAggregationGroupArrayInput interface {
	pulumi.Input

	ToLinkAggregationGroupArrayOutput() LinkAggregationGroupArrayOutput
	ToLinkAggregationGroupArrayOutputWithContext(context.Context) LinkAggregationGroupArrayOutput
}

LinkAggregationGroupArrayInput is an input type that accepts LinkAggregationGroupArray and LinkAggregationGroupArrayOutput values. You can construct a concrete instance of `LinkAggregationGroupArrayInput` via:

LinkAggregationGroupArray{ LinkAggregationGroupArgs{...} }

type LinkAggregationGroupArrayOutput added in v3.25.0

type LinkAggregationGroupArrayOutput struct{ *pulumi.OutputState }

func (LinkAggregationGroupArrayOutput) ElementType added in v3.25.0

func (LinkAggregationGroupArrayOutput) Index added in v3.25.0

func (LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutput added in v3.25.0

func (o LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutput() LinkAggregationGroupArrayOutput

func (LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutputWithContext added in v3.25.0

func (o LinkAggregationGroupArrayOutput) ToLinkAggregationGroupArrayOutputWithContext(ctx context.Context) LinkAggregationGroupArrayOutput

type LinkAggregationGroupInput added in v3.13.0

type LinkAggregationGroupInput interface {
	pulumi.Input

	ToLinkAggregationGroupOutput() LinkAggregationGroupOutput
	ToLinkAggregationGroupOutputWithContext(ctx context.Context) LinkAggregationGroupOutput
}

type LinkAggregationGroupMap added in v3.25.0

type LinkAggregationGroupMap map[string]LinkAggregationGroupInput

func (LinkAggregationGroupMap) ElementType added in v3.25.0

func (LinkAggregationGroupMap) ElementType() reflect.Type

func (LinkAggregationGroupMap) ToLinkAggregationGroupMapOutput added in v3.25.0

func (i LinkAggregationGroupMap) ToLinkAggregationGroupMapOutput() LinkAggregationGroupMapOutput

func (LinkAggregationGroupMap) ToLinkAggregationGroupMapOutputWithContext added in v3.25.0

func (i LinkAggregationGroupMap) ToLinkAggregationGroupMapOutputWithContext(ctx context.Context) LinkAggregationGroupMapOutput

type LinkAggregationGroupMapInput added in v3.25.0

type LinkAggregationGroupMapInput interface {
	pulumi.Input

	ToLinkAggregationGroupMapOutput() LinkAggregationGroupMapOutput
	ToLinkAggregationGroupMapOutputWithContext(context.Context) LinkAggregationGroupMapOutput
}

LinkAggregationGroupMapInput is an input type that accepts LinkAggregationGroupMap and LinkAggregationGroupMapOutput values. You can construct a concrete instance of `LinkAggregationGroupMapInput` via:

LinkAggregationGroupMap{ "key": LinkAggregationGroupArgs{...} }

type LinkAggregationGroupMapOutput added in v3.25.0

type LinkAggregationGroupMapOutput struct{ *pulumi.OutputState }

func (LinkAggregationGroupMapOutput) ElementType added in v3.25.0

func (LinkAggregationGroupMapOutput) MapIndex added in v3.25.0

func (LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutput added in v3.25.0

func (o LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutput() LinkAggregationGroupMapOutput

func (LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutputWithContext added in v3.25.0

func (o LinkAggregationGroupMapOutput) ToLinkAggregationGroupMapOutputWithContext(ctx context.Context) LinkAggregationGroupMapOutput

type LinkAggregationGroupOutput added in v3.13.0

type LinkAggregationGroupOutput struct {
	*pulumi.OutputState
}

func (LinkAggregationGroupOutput) ElementType added in v3.13.0

func (LinkAggregationGroupOutput) ElementType() reflect.Type

func (LinkAggregationGroupOutput) ToLinkAggregationGroupOutput added in v3.13.0

func (o LinkAggregationGroupOutput) ToLinkAggregationGroupOutput() LinkAggregationGroupOutput

func (LinkAggregationGroupOutput) ToLinkAggregationGroupOutputWithContext added in v3.13.0

func (o LinkAggregationGroupOutput) ToLinkAggregationGroupOutputWithContext(ctx context.Context) LinkAggregationGroupOutput

func (LinkAggregationGroupOutput) ToLinkAggregationGroupPtrOutput added in v3.25.0

func (o LinkAggregationGroupOutput) ToLinkAggregationGroupPtrOutput() LinkAggregationGroupPtrOutput

func (LinkAggregationGroupOutput) ToLinkAggregationGroupPtrOutputWithContext added in v3.25.0

func (o LinkAggregationGroupOutput) ToLinkAggregationGroupPtrOutputWithContext(ctx context.Context) LinkAggregationGroupPtrOutput

type LinkAggregationGroupPtrInput added in v3.25.0

type LinkAggregationGroupPtrInput interface {
	pulumi.Input

	ToLinkAggregationGroupPtrOutput() LinkAggregationGroupPtrOutput
	ToLinkAggregationGroupPtrOutputWithContext(ctx context.Context) LinkAggregationGroupPtrOutput
}

type LinkAggregationGroupPtrOutput added in v3.25.0

type LinkAggregationGroupPtrOutput struct {
	*pulumi.OutputState
}

func (LinkAggregationGroupPtrOutput) ElementType added in v3.25.0

func (LinkAggregationGroupPtrOutput) ToLinkAggregationGroupPtrOutput added in v3.25.0

func (o LinkAggregationGroupPtrOutput) ToLinkAggregationGroupPtrOutput() LinkAggregationGroupPtrOutput

func (LinkAggregationGroupPtrOutput) ToLinkAggregationGroupPtrOutputWithContext added in v3.25.0

func (o LinkAggregationGroupPtrOutput) ToLinkAggregationGroupPtrOutputWithContext(ctx context.Context) LinkAggregationGroupPtrOutput

type LinkAggregationGroupState

type LinkAggregationGroupState struct {
	// The ARN of the LAG.
	// * `jumboFrameCapable` -Indicates whether jumbo frames (9001 MTU) are supported.
	Arn pulumi.StringPtrInput
	// The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps and 10Gbps. Case sensitive.
	ConnectionsBandwidth pulumi.StringPtrInput
	// A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
	ForceDestroy pulumi.BoolPtrInput
	// Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
	HasLogicalRedundancy pulumi.StringPtrInput
	JumboFrameCapable    pulumi.BoolPtrInput
	// The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
	Location pulumi.StringPtrInput
	// The name of the LAG.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (LinkAggregationGroupState) ElementType

func (LinkAggregationGroupState) ElementType() reflect.Type

type LookupGatewayArgs

type LookupGatewayArgs struct {
	// The name of the gateway to retrieve.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getGateway.

type LookupGatewayResult

type LookupGatewayResult struct {
	// The ASN on the Amazon side of the connection.
	AmazonSideAsn string `pulumi:"amazonSideAsn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// AWS Account ID of the gateway.
	OwnerAccountId string `pulumi:"ownerAccountId"`
}

A collection of values returned by getGateway.

func LookupGateway

func LookupGateway(ctx *pulumi.Context, args *LookupGatewayArgs, opts ...pulumi.InvokeOption) (*LookupGatewayResult, error)

Retrieve information about a Direct Connect Gateway.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.LookupGateway(ctx, &directconnect.LookupGatewayArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type PrivateVirtualInterface

type PrivateVirtualInterface struct {
	pulumi.CustomResourceState

	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"`
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"`
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrOutput `pulumi:"dxGatewayId"`
	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"`
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection.
	// The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
	// The name for the virtual interface.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The VLAN ID.
	Vlan pulumi.IntOutput `pulumi:"vlan"`
	// The ID of the virtual private gateway to which to connect the virtual interface.
	VpnGatewayId pulumi.StringPtrOutput `pulumi:"vpnGatewayId"`
}

Provides a Direct Connect private virtual interface resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewPrivateVirtualInterface(ctx, "foo", &directconnect.PrivateVirtualInterfaceArgs{
			AddressFamily: pulumi.String("ipv4"),
			BgpAsn:        pulumi.Int(65352),
			ConnectionId:  pulumi.String("dxcon-zzzzzzzz"),
			Vlan:          pulumi.Int(4094),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect private virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/privateVirtualInterface:PrivateVirtualInterface test dxvif-33cc44dd

```

func GetPrivateVirtualInterface

func GetPrivateVirtualInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateVirtualInterfaceState, opts ...pulumi.ResourceOption) (*PrivateVirtualInterface, error)

GetPrivateVirtualInterface gets an existing PrivateVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrivateVirtualInterface

func NewPrivateVirtualInterface(ctx *pulumi.Context,
	name string, args *PrivateVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*PrivateVirtualInterface, error)

NewPrivateVirtualInterface registers a new resource with the given unique name, arguments, and options.

func (*PrivateVirtualInterface) ElementType added in v3.13.0

func (*PrivateVirtualInterface) ElementType() reflect.Type

func (*PrivateVirtualInterface) ToPrivateVirtualInterfaceOutput added in v3.13.0

func (i *PrivateVirtualInterface) ToPrivateVirtualInterfaceOutput() PrivateVirtualInterfaceOutput

func (*PrivateVirtualInterface) ToPrivateVirtualInterfaceOutputWithContext added in v3.13.0

func (i *PrivateVirtualInterface) ToPrivateVirtualInterfaceOutputWithContext(ctx context.Context) PrivateVirtualInterfaceOutput

func (*PrivateVirtualInterface) ToPrivateVirtualInterfacePtrOutput added in v3.25.0

func (i *PrivateVirtualInterface) ToPrivateVirtualInterfacePtrOutput() PrivateVirtualInterfacePtrOutput

func (*PrivateVirtualInterface) ToPrivateVirtualInterfacePtrOutputWithContext added in v3.25.0

func (i *PrivateVirtualInterface) ToPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) PrivateVirtualInterfacePtrOutput

type PrivateVirtualInterfaceArgs

type PrivateVirtualInterfaceArgs struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection.
	// The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The VLAN ID.
	Vlan pulumi.IntInput
	// The ID of the virtual private gateway to which to connect the virtual interface.
	VpnGatewayId pulumi.StringPtrInput
}

The set of arguments for constructing a PrivateVirtualInterface resource.

func (PrivateVirtualInterfaceArgs) ElementType

type PrivateVirtualInterfaceArray added in v3.25.0

type PrivateVirtualInterfaceArray []PrivateVirtualInterfaceInput

func (PrivateVirtualInterfaceArray) ElementType added in v3.25.0

func (PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutput added in v3.25.0

func (i PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput

func (PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (i PrivateVirtualInterfaceArray) ToPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) PrivateVirtualInterfaceArrayOutput

type PrivateVirtualInterfaceArrayInput added in v3.25.0

type PrivateVirtualInterfaceArrayInput interface {
	pulumi.Input

	ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput
	ToPrivateVirtualInterfaceArrayOutputWithContext(context.Context) PrivateVirtualInterfaceArrayOutput
}

PrivateVirtualInterfaceArrayInput is an input type that accepts PrivateVirtualInterfaceArray and PrivateVirtualInterfaceArrayOutput values. You can construct a concrete instance of `PrivateVirtualInterfaceArrayInput` via:

PrivateVirtualInterfaceArray{ PrivateVirtualInterfaceArgs{...} }

type PrivateVirtualInterfaceArrayOutput added in v3.25.0

type PrivateVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (PrivateVirtualInterfaceArrayOutput) ElementType added in v3.25.0

func (PrivateVirtualInterfaceArrayOutput) Index added in v3.25.0

func (PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutput added in v3.25.0

func (o PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutput() PrivateVirtualInterfaceArrayOutput

func (PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (o PrivateVirtualInterfaceArrayOutput) ToPrivateVirtualInterfaceArrayOutputWithContext(ctx context.Context) PrivateVirtualInterfaceArrayOutput

type PrivateVirtualInterfaceInput added in v3.13.0

type PrivateVirtualInterfaceInput interface {
	pulumi.Input

	ToPrivateVirtualInterfaceOutput() PrivateVirtualInterfaceOutput
	ToPrivateVirtualInterfaceOutputWithContext(ctx context.Context) PrivateVirtualInterfaceOutput
}

type PrivateVirtualInterfaceMap added in v3.25.0

type PrivateVirtualInterfaceMap map[string]PrivateVirtualInterfaceInput

func (PrivateVirtualInterfaceMap) ElementType added in v3.25.0

func (PrivateVirtualInterfaceMap) ElementType() reflect.Type

func (PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutput added in v3.25.0

func (i PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput

func (PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutputWithContext added in v3.25.0

func (i PrivateVirtualInterfaceMap) ToPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) PrivateVirtualInterfaceMapOutput

type PrivateVirtualInterfaceMapInput added in v3.25.0

type PrivateVirtualInterfaceMapInput interface {
	pulumi.Input

	ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput
	ToPrivateVirtualInterfaceMapOutputWithContext(context.Context) PrivateVirtualInterfaceMapOutput
}

PrivateVirtualInterfaceMapInput is an input type that accepts PrivateVirtualInterfaceMap and PrivateVirtualInterfaceMapOutput values. You can construct a concrete instance of `PrivateVirtualInterfaceMapInput` via:

PrivateVirtualInterfaceMap{ "key": PrivateVirtualInterfaceArgs{...} }

type PrivateVirtualInterfaceMapOutput added in v3.25.0

type PrivateVirtualInterfaceMapOutput struct{ *pulumi.OutputState }

func (PrivateVirtualInterfaceMapOutput) ElementType added in v3.25.0

func (PrivateVirtualInterfaceMapOutput) MapIndex added in v3.25.0

func (PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutput added in v3.25.0

func (o PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutput() PrivateVirtualInterfaceMapOutput

func (PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutputWithContext added in v3.25.0

func (o PrivateVirtualInterfaceMapOutput) ToPrivateVirtualInterfaceMapOutputWithContext(ctx context.Context) PrivateVirtualInterfaceMapOutput

type PrivateVirtualInterfaceOutput added in v3.13.0

type PrivateVirtualInterfaceOutput struct {
	*pulumi.OutputState
}

func (PrivateVirtualInterfaceOutput) ElementType added in v3.13.0

func (PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutput added in v3.13.0

func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutput() PrivateVirtualInterfaceOutput

func (PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutputWithContext added in v3.13.0

func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfaceOutputWithContext(ctx context.Context) PrivateVirtualInterfaceOutput

func (PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfacePtrOutput added in v3.25.0

func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfacePtrOutput() PrivateVirtualInterfacePtrOutput

func (PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o PrivateVirtualInterfaceOutput) ToPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) PrivateVirtualInterfacePtrOutput

type PrivateVirtualInterfacePtrInput added in v3.25.0

type PrivateVirtualInterfacePtrInput interface {
	pulumi.Input

	ToPrivateVirtualInterfacePtrOutput() PrivateVirtualInterfacePtrOutput
	ToPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) PrivateVirtualInterfacePtrOutput
}

type PrivateVirtualInterfacePtrOutput added in v3.25.0

type PrivateVirtualInterfacePtrOutput struct {
	*pulumi.OutputState
}

func (PrivateVirtualInterfacePtrOutput) ElementType added in v3.25.0

func (PrivateVirtualInterfacePtrOutput) ToPrivateVirtualInterfacePtrOutput added in v3.25.0

func (o PrivateVirtualInterfacePtrOutput) ToPrivateVirtualInterfacePtrOutput() PrivateVirtualInterfacePtrOutput

func (PrivateVirtualInterfacePtrOutput) ToPrivateVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o PrivateVirtualInterfacePtrOutput) ToPrivateVirtualInterfacePtrOutputWithContext(ctx context.Context) PrivateVirtualInterfacePtrOutput

type PrivateVirtualInterfaceState

type PrivateVirtualInterfaceState struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringPtrInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	AmazonSideAsn pulumi.StringPtrInput
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntPtrInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrInput
	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable pulumi.BoolPtrInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection.
	// The MTU of a virtual private interface can be either `1500` or `9001` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The VLAN ID.
	Vlan pulumi.IntPtrInput
	// The ID of the virtual private gateway to which to connect the virtual interface.
	VpnGatewayId pulumi.StringPtrInput
}

func (PrivateVirtualInterfaceState) ElementType

type PublicVirtualInterface

type PublicVirtualInterface struct {
	pulumi.CustomResourceState

	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"`
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"`
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// The name for the virtual interface.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of routes to be advertised to the AWS network in this region.
	RouteFilterPrefixes pulumi.StringArrayOutput `pulumi:"routeFilterPrefixes"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The VLAN ID.
	Vlan pulumi.IntOutput `pulumi:"vlan"`
}

Provides a Direct Connect public virtual interface resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := directconnect.NewPublicVirtualInterface(ctx, "foo", &directconnect.PublicVirtualInterfaceArgs{
			AddressFamily:   pulumi.String("ipv4"),
			AmazonAddress:   pulumi.String("175.45.176.2/30"),
			BgpAsn:          pulumi.Int(65352),
			ConnectionId:    pulumi.String("dxcon-zzzzzzzz"),
			CustomerAddress: pulumi.String("175.45.176.1/30"),
			RouteFilterPrefixes: pulumi.StringArray{
				pulumi.String("210.52.109.0/24"),
				pulumi.String("175.45.176.0/22"),
			},
			Vlan: pulumi.Int(4094),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect public virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/publicVirtualInterface:PublicVirtualInterface test dxvif-33cc44dd

```

func GetPublicVirtualInterface

func GetPublicVirtualInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PublicVirtualInterfaceState, opts ...pulumi.ResourceOption) (*PublicVirtualInterface, error)

GetPublicVirtualInterface gets an existing PublicVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPublicVirtualInterface

func NewPublicVirtualInterface(ctx *pulumi.Context,
	name string, args *PublicVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*PublicVirtualInterface, error)

NewPublicVirtualInterface registers a new resource with the given unique name, arguments, and options.

func (*PublicVirtualInterface) ElementType added in v3.13.0

func (*PublicVirtualInterface) ElementType() reflect.Type

func (*PublicVirtualInterface) ToPublicVirtualInterfaceOutput added in v3.13.0

func (i *PublicVirtualInterface) ToPublicVirtualInterfaceOutput() PublicVirtualInterfaceOutput

func (*PublicVirtualInterface) ToPublicVirtualInterfaceOutputWithContext added in v3.13.0

func (i *PublicVirtualInterface) ToPublicVirtualInterfaceOutputWithContext(ctx context.Context) PublicVirtualInterfaceOutput

func (*PublicVirtualInterface) ToPublicVirtualInterfacePtrOutput added in v3.25.0

func (i *PublicVirtualInterface) ToPublicVirtualInterfacePtrOutput() PublicVirtualInterfacePtrOutput

func (*PublicVirtualInterface) ToPublicVirtualInterfacePtrOutputWithContext added in v3.25.0

func (i *PublicVirtualInterface) ToPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) PublicVirtualInterfacePtrOutput

type PublicVirtualInterfaceArgs

type PublicVirtualInterfaceArgs struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// A list of routes to be advertised to the AWS network in this region.
	RouteFilterPrefixes pulumi.StringArrayInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The VLAN ID.
	Vlan pulumi.IntInput
}

The set of arguments for constructing a PublicVirtualInterface resource.

func (PublicVirtualInterfaceArgs) ElementType

func (PublicVirtualInterfaceArgs) ElementType() reflect.Type

type PublicVirtualInterfaceArray added in v3.25.0

type PublicVirtualInterfaceArray []PublicVirtualInterfaceInput

func (PublicVirtualInterfaceArray) ElementType added in v3.25.0

func (PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutput added in v3.25.0

func (i PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput

func (PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (i PublicVirtualInterfaceArray) ToPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) PublicVirtualInterfaceArrayOutput

type PublicVirtualInterfaceArrayInput added in v3.25.0

type PublicVirtualInterfaceArrayInput interface {
	pulumi.Input

	ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput
	ToPublicVirtualInterfaceArrayOutputWithContext(context.Context) PublicVirtualInterfaceArrayOutput
}

PublicVirtualInterfaceArrayInput is an input type that accepts PublicVirtualInterfaceArray and PublicVirtualInterfaceArrayOutput values. You can construct a concrete instance of `PublicVirtualInterfaceArrayInput` via:

PublicVirtualInterfaceArray{ PublicVirtualInterfaceArgs{...} }

type PublicVirtualInterfaceArrayOutput added in v3.25.0

type PublicVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (PublicVirtualInterfaceArrayOutput) ElementType added in v3.25.0

func (PublicVirtualInterfaceArrayOutput) Index added in v3.25.0

func (PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutput added in v3.25.0

func (o PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutput() PublicVirtualInterfaceArrayOutput

func (PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (o PublicVirtualInterfaceArrayOutput) ToPublicVirtualInterfaceArrayOutputWithContext(ctx context.Context) PublicVirtualInterfaceArrayOutput

type PublicVirtualInterfaceInput added in v3.13.0

type PublicVirtualInterfaceInput interface {
	pulumi.Input

	ToPublicVirtualInterfaceOutput() PublicVirtualInterfaceOutput
	ToPublicVirtualInterfaceOutputWithContext(ctx context.Context) PublicVirtualInterfaceOutput
}

type PublicVirtualInterfaceMap added in v3.25.0

type PublicVirtualInterfaceMap map[string]PublicVirtualInterfaceInput

func (PublicVirtualInterfaceMap) ElementType added in v3.25.0

func (PublicVirtualInterfaceMap) ElementType() reflect.Type

func (PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutput added in v3.25.0

func (i PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutput() PublicVirtualInterfaceMapOutput

func (PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutputWithContext added in v3.25.0

func (i PublicVirtualInterfaceMap) ToPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) PublicVirtualInterfaceMapOutput

type PublicVirtualInterfaceMapInput added in v3.25.0

type PublicVirtualInterfaceMapInput interface {
	pulumi.Input

	ToPublicVirtualInterfaceMapOutput() PublicVirtualInterfaceMapOutput
	ToPublicVirtualInterfaceMapOutputWithContext(context.Context) PublicVirtualInterfaceMapOutput
}

PublicVirtualInterfaceMapInput is an input type that accepts PublicVirtualInterfaceMap and PublicVirtualInterfaceMapOutput values. You can construct a concrete instance of `PublicVirtualInterfaceMapInput` via:

PublicVirtualInterfaceMap{ "key": PublicVirtualInterfaceArgs{...} }

type PublicVirtualInterfaceMapOutput added in v3.25.0

type PublicVirtualInterfaceMapOutput struct{ *pulumi.OutputState }

func (PublicVirtualInterfaceMapOutput) ElementType added in v3.25.0

func (PublicVirtualInterfaceMapOutput) MapIndex added in v3.25.0

func (PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutput added in v3.25.0

func (o PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutput() PublicVirtualInterfaceMapOutput

func (PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutputWithContext added in v3.25.0

func (o PublicVirtualInterfaceMapOutput) ToPublicVirtualInterfaceMapOutputWithContext(ctx context.Context) PublicVirtualInterfaceMapOutput

type PublicVirtualInterfaceOutput added in v3.13.0

type PublicVirtualInterfaceOutput struct {
	*pulumi.OutputState
}

func (PublicVirtualInterfaceOutput) ElementType added in v3.13.0

func (PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutput added in v3.13.0

func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutput() PublicVirtualInterfaceOutput

func (PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutputWithContext added in v3.13.0

func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfaceOutputWithContext(ctx context.Context) PublicVirtualInterfaceOutput

func (PublicVirtualInterfaceOutput) ToPublicVirtualInterfacePtrOutput added in v3.25.0

func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfacePtrOutput() PublicVirtualInterfacePtrOutput

func (PublicVirtualInterfaceOutput) ToPublicVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o PublicVirtualInterfaceOutput) ToPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) PublicVirtualInterfacePtrOutput

type PublicVirtualInterfacePtrInput added in v3.25.0

type PublicVirtualInterfacePtrInput interface {
	pulumi.Input

	ToPublicVirtualInterfacePtrOutput() PublicVirtualInterfacePtrOutput
	ToPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) PublicVirtualInterfacePtrOutput
}

type PublicVirtualInterfacePtrOutput added in v3.25.0

type PublicVirtualInterfacePtrOutput struct {
	*pulumi.OutputState
}

func (PublicVirtualInterfacePtrOutput) ElementType added in v3.25.0

func (PublicVirtualInterfacePtrOutput) ToPublicVirtualInterfacePtrOutput added in v3.25.0

func (o PublicVirtualInterfacePtrOutput) ToPublicVirtualInterfacePtrOutput() PublicVirtualInterfacePtrOutput

func (PublicVirtualInterfacePtrOutput) ToPublicVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o PublicVirtualInterfacePtrOutput) ToPublicVirtualInterfacePtrOutputWithContext(ctx context.Context) PublicVirtualInterfacePtrOutput

type PublicVirtualInterfaceState

type PublicVirtualInterfaceState struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringPtrInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	AmazonSideAsn pulumi.StringPtrInput
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntPtrInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// A list of routes to be advertised to the AWS network in this region.
	RouteFilterPrefixes pulumi.StringArrayInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The VLAN ID.
	Vlan pulumi.IntPtrInput
}

func (PublicVirtualInterfaceState) ElementType

type TransitVirtualInterface

type TransitVirtualInterface struct {
	pulumi.CustomResourceState

	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringOutput `pulumi:"addressFamily"`
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringOutput `pulumi:"amazonAddress"`
	AmazonSideAsn pulumi.StringOutput `pulumi:"amazonSideAsn"`
	// The ARN of the virtual interface.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringOutput `pulumi:"awsDevice"`
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntOutput `pulumi:"bgpAsn"`
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringOutput `pulumi:"bgpAuthKey"`
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringOutput `pulumi:"customerAddress"`
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringOutput `pulumi:"dxGatewayId"`
	// Indicates whether jumbo frames (8500 MTU) are supported.
	JumboFrameCapable pulumi.BoolOutput `pulumi:"jumboFrameCapable"`
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection.
	// The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrOutput `pulumi:"mtu"`
	// The name for the virtual interface.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The VLAN ID.
	Vlan pulumi.IntOutput `pulumi:"vlan"`
}

Provides a Direct Connect transit virtual interface resource. A transit virtual interface is a VLAN that transports traffic from a Direct Connect gateway to one or more transit gateways.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGateway, err := directconnect.NewGateway(ctx, "exampleGateway", &directconnect.GatewayArgs{
			AmazonSideAsn: pulumi.String("64512"),
		})
		if err != nil {
			return err
		}
		_, err = directconnect.NewTransitVirtualInterface(ctx, "exampleTransitVirtualInterface", &directconnect.TransitVirtualInterfaceArgs{
			ConnectionId:  pulumi.Any(aws_dx_connection.Example.Id),
			DxGatewayId:   exampleGateway.ID(),
			Vlan:          pulumi.Int(4094),
			AddressFamily: pulumi.String("ipv4"),
			BgpAsn:        pulumi.Int(65352),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Direct Connect transit virtual interfaces can be imported using the `vif id`, e.g.

```sh

$ pulumi import aws:directconnect/transitVirtualInterface:TransitVirtualInterface test dxvif-33cc44dd

```

func GetTransitVirtualInterface

func GetTransitVirtualInterface(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitVirtualInterfaceState, opts ...pulumi.ResourceOption) (*TransitVirtualInterface, error)

GetTransitVirtualInterface gets an existing TransitVirtualInterface resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitVirtualInterface

func NewTransitVirtualInterface(ctx *pulumi.Context,
	name string, args *TransitVirtualInterfaceArgs, opts ...pulumi.ResourceOption) (*TransitVirtualInterface, error)

NewTransitVirtualInterface registers a new resource with the given unique name, arguments, and options.

func (*TransitVirtualInterface) ElementType added in v3.13.0

func (*TransitVirtualInterface) ElementType() reflect.Type

func (*TransitVirtualInterface) ToTransitVirtualInterfaceOutput added in v3.13.0

func (i *TransitVirtualInterface) ToTransitVirtualInterfaceOutput() TransitVirtualInterfaceOutput

func (*TransitVirtualInterface) ToTransitVirtualInterfaceOutputWithContext added in v3.13.0

func (i *TransitVirtualInterface) ToTransitVirtualInterfaceOutputWithContext(ctx context.Context) TransitVirtualInterfaceOutput

func (*TransitVirtualInterface) ToTransitVirtualInterfacePtrOutput added in v3.25.0

func (i *TransitVirtualInterface) ToTransitVirtualInterfacePtrOutput() TransitVirtualInterfacePtrOutput

func (*TransitVirtualInterface) ToTransitVirtualInterfacePtrOutputWithContext added in v3.25.0

func (i *TransitVirtualInterface) ToTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) TransitVirtualInterfacePtrOutput

type TransitVirtualInterfaceArgs

type TransitVirtualInterfaceArgs struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection.
	// The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The VLAN ID.
	Vlan pulumi.IntInput
}

The set of arguments for constructing a TransitVirtualInterface resource.

func (TransitVirtualInterfaceArgs) ElementType

type TransitVirtualInterfaceArray added in v3.25.0

type TransitVirtualInterfaceArray []TransitVirtualInterfaceInput

func (TransitVirtualInterfaceArray) ElementType added in v3.25.0

func (TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutput added in v3.25.0

func (i TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput

func (TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (i TransitVirtualInterfaceArray) ToTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) TransitVirtualInterfaceArrayOutput

type TransitVirtualInterfaceArrayInput added in v3.25.0

type TransitVirtualInterfaceArrayInput interface {
	pulumi.Input

	ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput
	ToTransitVirtualInterfaceArrayOutputWithContext(context.Context) TransitVirtualInterfaceArrayOutput
}

TransitVirtualInterfaceArrayInput is an input type that accepts TransitVirtualInterfaceArray and TransitVirtualInterfaceArrayOutput values. You can construct a concrete instance of `TransitVirtualInterfaceArrayInput` via:

TransitVirtualInterfaceArray{ TransitVirtualInterfaceArgs{...} }

type TransitVirtualInterfaceArrayOutput added in v3.25.0

type TransitVirtualInterfaceArrayOutput struct{ *pulumi.OutputState }

func (TransitVirtualInterfaceArrayOutput) ElementType added in v3.25.0

func (TransitVirtualInterfaceArrayOutput) Index added in v3.25.0

func (TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutput added in v3.25.0

func (o TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutput() TransitVirtualInterfaceArrayOutput

func (TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutputWithContext added in v3.25.0

func (o TransitVirtualInterfaceArrayOutput) ToTransitVirtualInterfaceArrayOutputWithContext(ctx context.Context) TransitVirtualInterfaceArrayOutput

type TransitVirtualInterfaceInput added in v3.13.0

type TransitVirtualInterfaceInput interface {
	pulumi.Input

	ToTransitVirtualInterfaceOutput() TransitVirtualInterfaceOutput
	ToTransitVirtualInterfaceOutputWithContext(ctx context.Context) TransitVirtualInterfaceOutput
}

type TransitVirtualInterfaceMap added in v3.25.0

type TransitVirtualInterfaceMap map[string]TransitVirtualInterfaceInput

func (TransitVirtualInterfaceMap) ElementType added in v3.25.0

func (TransitVirtualInterfaceMap) ElementType() reflect.Type

func (TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutput added in v3.25.0

func (i TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput

func (TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutputWithContext added in v3.25.0

func (i TransitVirtualInterfaceMap) ToTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) TransitVirtualInterfaceMapOutput

type TransitVirtualInterfaceMapInput added in v3.25.0

type TransitVirtualInterfaceMapInput interface {
	pulumi.Input

	ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput
	ToTransitVirtualInterfaceMapOutputWithContext(context.Context) TransitVirtualInterfaceMapOutput
}

TransitVirtualInterfaceMapInput is an input type that accepts TransitVirtualInterfaceMap and TransitVirtualInterfaceMapOutput values. You can construct a concrete instance of `TransitVirtualInterfaceMapInput` via:

TransitVirtualInterfaceMap{ "key": TransitVirtualInterfaceArgs{...} }

type TransitVirtualInterfaceMapOutput added in v3.25.0

type TransitVirtualInterfaceMapOutput struct{ *pulumi.OutputState }

func (TransitVirtualInterfaceMapOutput) ElementType added in v3.25.0

func (TransitVirtualInterfaceMapOutput) MapIndex added in v3.25.0

func (TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutput added in v3.25.0

func (o TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutput() TransitVirtualInterfaceMapOutput

func (TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutputWithContext added in v3.25.0

func (o TransitVirtualInterfaceMapOutput) ToTransitVirtualInterfaceMapOutputWithContext(ctx context.Context) TransitVirtualInterfaceMapOutput

type TransitVirtualInterfaceOutput added in v3.13.0

type TransitVirtualInterfaceOutput struct {
	*pulumi.OutputState
}

func (TransitVirtualInterfaceOutput) ElementType added in v3.13.0

func (TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutput added in v3.13.0

func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutput() TransitVirtualInterfaceOutput

func (TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutputWithContext added in v3.13.0

func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfaceOutputWithContext(ctx context.Context) TransitVirtualInterfaceOutput

func (TransitVirtualInterfaceOutput) ToTransitVirtualInterfacePtrOutput added in v3.25.0

func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfacePtrOutput() TransitVirtualInterfacePtrOutput

func (TransitVirtualInterfaceOutput) ToTransitVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o TransitVirtualInterfaceOutput) ToTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) TransitVirtualInterfacePtrOutput

type TransitVirtualInterfacePtrInput added in v3.25.0

type TransitVirtualInterfacePtrInput interface {
	pulumi.Input

	ToTransitVirtualInterfacePtrOutput() TransitVirtualInterfacePtrOutput
	ToTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) TransitVirtualInterfacePtrOutput
}

type TransitVirtualInterfacePtrOutput added in v3.25.0

type TransitVirtualInterfacePtrOutput struct {
	*pulumi.OutputState
}

func (TransitVirtualInterfacePtrOutput) ElementType added in v3.25.0

func (TransitVirtualInterfacePtrOutput) ToTransitVirtualInterfacePtrOutput added in v3.25.0

func (o TransitVirtualInterfacePtrOutput) ToTransitVirtualInterfacePtrOutput() TransitVirtualInterfacePtrOutput

func (TransitVirtualInterfacePtrOutput) ToTransitVirtualInterfacePtrOutputWithContext added in v3.25.0

func (o TransitVirtualInterfacePtrOutput) ToTransitVirtualInterfacePtrOutputWithContext(ctx context.Context) TransitVirtualInterfacePtrOutput

type TransitVirtualInterfaceState

type TransitVirtualInterfaceState struct {
	// The address family for the BGP peer. ` ipv4  ` or `ipv6`.
	AddressFamily pulumi.StringPtrInput
	// The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
	AmazonAddress pulumi.StringPtrInput
	AmazonSideAsn pulumi.StringPtrInput
	// The ARN of the virtual interface.
	Arn pulumi.StringPtrInput
	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDevice pulumi.StringPtrInput
	// The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
	BgpAsn pulumi.IntPtrInput
	// The authentication key for BGP configuration.
	BgpAuthKey pulumi.StringPtrInput
	// The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
	ConnectionId pulumi.StringPtrInput
	// The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
	CustomerAddress pulumi.StringPtrInput
	// The ID of the Direct Connect gateway to which to connect the virtual interface.
	DxGatewayId pulumi.StringPtrInput
	// Indicates whether jumbo frames (8500 MTU) are supported.
	JumboFrameCapable pulumi.BoolPtrInput
	// The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection.
	// The MTU of a virtual transit interface can be either `1500` or `8500` (jumbo frames). Default is `1500`.
	Mtu pulumi.IntPtrInput
	// The name for the virtual interface.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The VLAN ID.
	Vlan pulumi.IntPtrInput
}

func (TransitVirtualInterfaceState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL