BgpPeer

class BgpPeer : KotlinCustomResource

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());
}
}

Properties

Link copied to clipboard
val addressFamily: Output<String>

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

Link copied to clipboard
val amazonAddress: Output<String>

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 awsDevice: Output<String>

The Direct Connect endpoint on which the BGP peer terminates.

Link copied to clipboard
val bgpAsn: Output<Int>

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

Link copied to clipboard
val bgpAuthKey: Output<String>

The authentication key for BGP configuration.

Link copied to clipboard
val bgpPeerId: Output<String>

The ID of the BGP peer.

Link copied to clipboard
val bgpStatus: Output<String>

The Up/Down state of the BGP peer.

Link copied to clipboard
val customerAddress: Output<String>

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 id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

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