aws_dx_bgp_peer

Nivis Nix constructor for the aws_dx_bgp_peer resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  address_family,
  virtual_interface_id,
  amazon_address ? null,
  bgp_asn ? null,
  bgp_asn_long ? null,
  bgp_auth_key ? null,
  customer_address ? null,
  id ? null,
  region ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • address_family
  • virtual_interface_id
Optional arguments
  • amazon_address (defaults to null)
  • bgp_asn (defaults to null)
  • bgp_asn_long (defaults to null)
  • bgp_auth_key (defaults to null)
  • customer_address (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • aws_device
  • bgp_peer_id
  • bgp_status
Example
aws_dx_bgp_peer {
  name = "dx_bgp_peer";
  address_family = …;  # required
  virtual_interface_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.