BgpPeerArgs

data class BgpPeerArgs(val addressFamily: Output<String>? = null, val amazonAddress: Output<String>? = null, val bgpAsn: Output<Int>? = null, val bgpAuthKey: Output<String>? = null, val customerAddress: Output<String>? = null, val virtualInterfaceId: Output<String>? = null) : ConvertibleToJava<BgpPeerArgs>

Provides a Direct Connect BGP peer resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.directconnect.BgpPeer;
import com.pulumi.aws.directconnect.BgpPeerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var peer = new BgpPeer("peer", BgpPeerArgs.builder()
.virtualInterfaceId(aws_dx_private_virtual_interface.foo().id())
.addressFamily("ipv6")
.bgpAsn(65351)
.build());
}
}

Constructors

Link copied to clipboard
constructor(addressFamily: Output<String>? = null, amazonAddress: Output<String>? = null, bgpAsn: Output<Int>? = null, bgpAuthKey: Output<String>? = null, customerAddress: Output<String>? = null, virtualInterfaceId: Output<String>? = null)

Properties

Link copied to clipboard
val addressFamily: Output<String>? = null

The address family for the BGP peer. ipv4 or ipv6.

Link copied to clipboard
val amazonAddress: Output<String>? = null

The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers on public virtual interfaces.

Link copied to clipboard
val bgpAsn: Output<Int>? = null

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Link copied to clipboard
val bgpAuthKey: Output<String>? = null

The authentication key for BGP configuration.

Link copied to clipboard
val customerAddress: Output<String>? = null

The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers on public virtual interfaces.

Link copied to clipboard
val virtualInterfaceId: Output<String>? = null

The ID of the Direct Connect virtual interface on which to create the BGP peer.

Functions

Link copied to clipboard
open override fun toJava(): BgpPeerArgs