AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UpdateVirtualInterfaceAttributesOutput

import "github.com/aws/aws-sdk-go/service/directconnect"

type UpdateVirtualInterfaceAttributesOutput struct { AddressFamily *string `locationName:"addressFamily" type:"string" enum:"AddressFamily"` AmazonAddress *string `locationName:"amazonAddress" type:"string"` AmazonSideAsn *int64 `locationName:"amazonSideAsn" type:"long"` Asn *int64 `locationName:"asn" type:"integer"` AuthKey *string `locationName:"authKey" type:"string"` AwsDeviceV2 *string `locationName:"awsDeviceV2" type:"string"` BgpPeers []*BGPPeer `locationName:"bgpPeers" type:"list"` ConnectionId *string `locationName:"connectionId" type:"string"` CustomerAddress *string `locationName:"customerAddress" type:"string"` CustomerRouterConfig *string `locationName:"customerRouterConfig" type:"string"` DirectConnectGatewayId *string `locationName:"directConnectGatewayId" type:"string"` JumboFrameCapable *bool `locationName:"jumboFrameCapable" type:"boolean"` Location *string `locationName:"location" type:"string"` Mtu *int64 `locationName:"mtu" type:"integer"` OwnerAccount *string `locationName:"ownerAccount" type:"string"` Region *string `locationName:"region" type:"string"` RouteFilterPrefixes []*RouteFilterPrefix `locationName:"routeFilterPrefixes" type:"list"` VirtualGatewayId *string `locationName:"virtualGatewayId" type:"string"` VirtualInterfaceId *string `locationName:"virtualInterfaceId" type:"string"` VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string"` VirtualInterfaceState *string `locationName:"virtualInterfaceState" type:"string" enum:"VirtualInterfaceState"` VirtualInterfaceType *string `locationName:"virtualInterfaceType" type:"string"` Vlan *int64 `locationName:"vlan" type:"integer"` }

Information about a virtual interface.

AddressFamily

Type: *string

The address family for the BGP peer.

AmazonAddress

Type: *string

The IP address assigned to the Amazon interface.

AmazonSideAsn

Type: *int64

The autonomous system number (ASN) for the Amazon side of the connection.

Asn

Type: *int64

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

AuthKey

Type: *string

The authentication key for BGP configuration.

AwsDeviceV2

Type: *string

The Direct Connect endpoint on which the virtual interface terminates.

BgpPeers

Information about a BGP peer.

ConnectionId

Type: *string

The ID of the connection.

CustomerAddress

Type: *string

The IP address assigned to the customer interface.

CustomerRouterConfig

Type: *string

The customer router configuration.

DirectConnectGatewayId

Type: *string

The ID of the Direct Connect gateway.

JumboFrameCapable

Type: *bool

Indicates whether jumbo frames (9001 MTU) are supported.

Location

Type: *string

The location of the connection.

Mtu

Type: *int64

The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.

OwnerAccount

Type: *string

The ID of the AWS account that owns the virtual interface.

Region

Type: *string

The AWS Region where the virtual interface is located.

RouteFilterPrefixes

Information about a route filter prefix that a customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.

VirtualGatewayId

Type: *string

The ID of the virtual private gateway. Applies only to private virtual interfaces.

VirtualInterfaceId

Type: *string

The ID of the virtual interface.

VirtualInterfaceName

Type: *string

The name of the virtual interface assigned by the customer network.

VirtualInterfaceState

Type: *string

The state of the virtual interface. The following are the possible values:

  • confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.

  • verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.

  • pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.

  • available: A virtual interface that is able to forward traffic.

  • down: A virtual interface that is BGP down.

  • deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.

  • deleted: A virtual interface that cannot forward traffic.

  • rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state.

  • unknown: The state of the virtual interface is not available.

VirtualInterfaceType

Type: *string

The type of virtual interface. The possible values are private and public.

Vlan

Type: *int64

The ID of the VLAN.

Method

GoString

func (s UpdateVirtualInterfaceAttributesOutput) GoString() string

GoString returns the string representation

SetAddressFamily

func (s *UpdateVirtualInterfaceAttributesOutput) SetAddressFamily(v string) *UpdateVirtualInterfaceAttributesOutput

SetAddressFamily sets the AddressFamily field's value.

SetAmazonAddress

func (s *UpdateVirtualInterfaceAttributesOutput) SetAmazonAddress(v string) *UpdateVirtualInterfaceAttributesOutput

SetAmazonAddress sets the AmazonAddress field's value.

SetAmazonSideAsn

func (s *UpdateVirtualInterfaceAttributesOutput) SetAmazonSideAsn(v int64) *UpdateVirtualInterfaceAttributesOutput

SetAmazonSideAsn sets the AmazonSideAsn field's value.

SetAsn

func (s *UpdateVirtualInterfaceAttributesOutput) SetAsn(v int64) *UpdateVirtualInterfaceAttributesOutput

SetAsn sets the Asn field's value.

SetAuthKey

func (s *UpdateVirtualInterfaceAttributesOutput) SetAuthKey(v string) *UpdateVirtualInterfaceAttributesOutput

SetAuthKey sets the AuthKey field's value.

SetAwsDeviceV2

func (s *UpdateVirtualInterfaceAttributesOutput) SetAwsDeviceV2(v string) *UpdateVirtualInterfaceAttributesOutput

SetAwsDeviceV2 sets the AwsDeviceV2 field's value.

SetBgpPeers

func (s *UpdateVirtualInterfaceAttributesOutput) SetBgpPeers(v []*BGPPeer) *UpdateVirtualInterfaceAttributesOutput

SetBgpPeers sets the BgpPeers field's value.

SetConnectionId

func (s *UpdateVirtualInterfaceAttributesOutput) SetConnectionId(v string) *UpdateVirtualInterfaceAttributesOutput

SetConnectionId sets the ConnectionId field's value.

SetCustomerAddress

func (s *UpdateVirtualInterfaceAttributesOutput) SetCustomerAddress(v string) *UpdateVirtualInterfaceAttributesOutput

SetCustomerAddress sets the CustomerAddress field's value.

SetCustomerRouterConfig

func (s *UpdateVirtualInterfaceAttributesOutput) SetCustomerRouterConfig(v string) *UpdateVirtualInterfaceAttributesOutput

SetCustomerRouterConfig sets the CustomerRouterConfig field's value.

SetDirectConnectGatewayId

func (s *UpdateVirtualInterfaceAttributesOutput) SetDirectConnectGatewayId(v string) *UpdateVirtualInterfaceAttributesOutput

SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value.

SetJumboFrameCapable

func (s *UpdateVirtualInterfaceAttributesOutput) SetJumboFrameCapable(v bool) *UpdateVirtualInterfaceAttributesOutput

SetJumboFrameCapable sets the JumboFrameCapable field's value.

SetLocation

func (s *UpdateVirtualInterfaceAttributesOutput) SetLocation(v string) *UpdateVirtualInterfaceAttributesOutput

SetLocation sets the Location field's value.

SetMtu

func (s *UpdateVirtualInterfaceAttributesOutput) SetMtu(v int64) *UpdateVirtualInterfaceAttributesOutput

SetMtu sets the Mtu field's value.

SetOwnerAccount

func (s *UpdateVirtualInterfaceAttributesOutput) SetOwnerAccount(v string) *UpdateVirtualInterfaceAttributesOutput

SetOwnerAccount sets the OwnerAccount field's value.

SetRegion

func (s *UpdateVirtualInterfaceAttributesOutput) SetRegion(v string) *UpdateVirtualInterfaceAttributesOutput

SetRegion sets the Region field's value.

SetRouteFilterPrefixes

func (s *UpdateVirtualInterfaceAttributesOutput) SetRouteFilterPrefixes(v []*RouteFilterPrefix) *UpdateVirtualInterfaceAttributesOutput

SetRouteFilterPrefixes sets the RouteFilterPrefixes field's value.

SetVirtualGatewayId

func (s *UpdateVirtualInterfaceAttributesOutput) SetVirtualGatewayId(v string) *UpdateVirtualInterfaceAttributesOutput

SetVirtualGatewayId sets the VirtualGatewayId field's value.

SetVirtualInterfaceId

func (s *UpdateVirtualInterfaceAttributesOutput) SetVirtualInterfaceId(v string) *UpdateVirtualInterfaceAttributesOutput

SetVirtualInterfaceId sets the VirtualInterfaceId field's value.

SetVirtualInterfaceName

func (s *UpdateVirtualInterfaceAttributesOutput) SetVirtualInterfaceName(v string) *UpdateVirtualInterfaceAttributesOutput

SetVirtualInterfaceName sets the VirtualInterfaceName field's value.

SetVirtualInterfaceState

func (s *UpdateVirtualInterfaceAttributesOutput) SetVirtualInterfaceState(v string) *UpdateVirtualInterfaceAttributesOutput

SetVirtualInterfaceState sets the VirtualInterfaceState field's value.

SetVirtualInterfaceType

func (s *UpdateVirtualInterfaceAttributesOutput) SetVirtualInterfaceType(v string) *UpdateVirtualInterfaceAttributesOutput

SetVirtualInterfaceType sets the VirtualInterfaceType field's value.

SetVlan

func (s *UpdateVirtualInterfaceAttributesOutput) SetVlan(v int64) *UpdateVirtualInterfaceAttributesOutput

SetVlan sets the Vlan field's value.

String

func (s UpdateVirtualInterfaceAttributesOutput) String() string

String returns the string representation

On this page: