types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressFamily

type AddressFamily string
const (
	AddressFamilyIPv4 AddressFamily = "ipv4"
	AddressFamilyIPv6 AddressFamily = "ipv6"
)

Enum values for AddressFamily

func (AddressFamily) Values added in v0.29.0

func (AddressFamily) Values() []AddressFamily

Values returns all known values for AddressFamily. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AssociatedGateway

type AssociatedGateway struct {

	// The ID of the associated gateway.
	Id *string

	// The ID of the AWS account that owns the associated virtual private gateway or
	// transit gateway.
	OwnerAccount *string

	// The Region where the associated gateway is located.
	Region *string

	// The type of associated gateway.
	Type GatewayType
}

Information about the associated gateway.

type BGPPeer

type BGPPeer struct {

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

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

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The Direct Connect endpoint on which the BGP peer terminates.
	AwsDeviceV2 *string

	// The ID of the BGP peer.
	BgpPeerId *string

	// The state of the BGP peer. The following are the possible values:
	//
	// * verifying:
	// The BGP peering addresses or ASN require validation before the BGP peer can be
	// created. This state applies only to public virtual interfaces.
	//
	// * pending: The
	// BGP peer is created, and remains in this state until it is ready to be
	// established.
	//
	// * available: The BGP peer is ready to be established.
	//
	// * deleting:
	// The BGP peer is being deleted.
	//
	// * deleted: The BGP peer is deleted and cannot be
	// established.
	BgpPeerState BGPPeerState

	// The status of the BGP peer. The following are the possible values:
	//
	// * up: The
	// BGP peer is established. This state does not indicate the state of the routing
	// function. Ensure that you are receiving routes over the BGP session.
	//
	// * down:
	// The BGP peer is down.
	//
	// * unknown: The BGP peer status is not available.
	BgpStatus BGPStatus

	// The IP address assigned to the customer interface.
	CustomerAddress *string
}

Information about a BGP peer.

type BGPPeerState

type BGPPeerState string
const (
	BGPPeerStateVerifying BGPPeerState = "verifying"
	BGPPeerStatePending   BGPPeerState = "pending"
	BGPPeerStateAvailable BGPPeerState = "available"
	BGPPeerStateDeleting  BGPPeerState = "deleting"
	BGPPeerStateDeleted   BGPPeerState = "deleted"
)

Enum values for BGPPeerState

func (BGPPeerState) Values added in v0.29.0

func (BGPPeerState) Values() []BGPPeerState

Values returns all known values for BGPPeerState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type BGPStatus

type BGPStatus string
const (
	BGPStatusUp      BGPStatus = "up"
	BGPStatusDown    BGPStatus = "down"
	BGPStatusUnknown BGPStatus = "unknown"
)

Enum values for BGPStatus

func (BGPStatus) Values added in v0.29.0

func (BGPStatus) Values() []BGPStatus

Values returns all known values for BGPStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Connection

type Connection struct {

	// The Direct Connect endpoint on which the physical connection terminates.
	//
	// Deprecated: This member has been deprecated.
	AwsDevice *string

	// The Direct Connect endpoint on which the physical connection terminates.
	AwsDeviceV2 *string

	// The bandwidth of the connection.
	Bandwidth *string

	// The ID of the connection.
	ConnectionId *string

	// The name of the connection.
	ConnectionName *string

	// The state of the connection. The following are the possible values:
	//
	// * ordering:
	// The initial state of a hosted connection provisioned on an interconnect. The
	// connection stays in the ordering state until the owner of the hosted connection
	// confirms or declines the connection order.
	//
	// * requested: The initial state of a
	// standard connection. The connection stays in the requested state until the
	// Letter of Authorization (LOA) is sent to the customer.
	//
	// * pending: The
	// connection has been approved and is being initialized.
	//
	// * available: The network
	// link is up and the connection is ready for use.
	//
	// * down: The network link is
	// down.
	//
	// * deleting: The connection is being deleted.
	//
	// * deleted: The connection
	// has been deleted.
	//
	// * rejected: A hosted connection in the ordering state enters
	// the rejected state if it is deleted by the customer.
	//
	// * unknown: The state of
	// the connection is not available.
	ConnectionState ConnectionState

	// Indicates whether the connection supports a secondary BGP peer in the same
	// address family (IPv4/IPv6).
	HasLogicalRedundancy HasLogicalRedundancy

	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable *bool

	// The ID of the LAG.
	LagId *string

	// The time of the most recent call to DescribeLoa for this connection.
	LoaIssueTime *time.Time

	// The location of the connection.
	Location *string

	// The ID of the AWS account that owns the connection.
	OwnerAccount *string

	// The name of the AWS Direct Connect service provider associated with the
	// connection.
	PartnerName *string

	// The name of the service provider associated with the connection.
	ProviderName *string

	// The AWS Region where the connection is located.
	Region *string

	// The tags associated with the connection.
	Tags []Tag

	// The ID of the VLAN.
	Vlan int32
}

Information about an AWS Direct Connect connection.

type ConnectionState

type ConnectionState string
const (
	ConnectionStateOrdering  ConnectionState = "ordering"
	ConnectionStateRequested ConnectionState = "requested"
	ConnectionStatePending   ConnectionState = "pending"
	ConnectionStateAvailable ConnectionState = "available"
	ConnectionStateDown      ConnectionState = "down"
	ConnectionStateDeleting  ConnectionState = "deleting"
	ConnectionStateDeleted   ConnectionState = "deleted"
	ConnectionStateRejected  ConnectionState = "rejected"
	ConnectionStateUnknown   ConnectionState = "unknown"
)

Enum values for ConnectionState

func (ConnectionState) Values added in v0.29.0

func (ConnectionState) Values() []ConnectionState

Values returns all known values for ConnectionState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DirectConnectClientException

type DirectConnectClientException struct {
	Message *string
}

One or more parameters are not valid.

func (*DirectConnectClientException) Error

func (*DirectConnectClientException) ErrorCode

func (e *DirectConnectClientException) ErrorCode() string

func (*DirectConnectClientException) ErrorFault

func (*DirectConnectClientException) ErrorMessage

func (e *DirectConnectClientException) ErrorMessage() string

type DirectConnectGateway

type DirectConnectGateway struct {

	// The autonomous system number (ASN) for the Amazon side of the connection.
	AmazonSideAsn *int64

	// The ID of the Direct Connect gateway.
	DirectConnectGatewayId *string

	// The name of the Direct Connect gateway.
	DirectConnectGatewayName *string

	// The state of the Direct Connect gateway. The following are the possible
	// values:
	//
	// * pending: The initial state after calling
	// CreateDirectConnectGateway.
	//
	// * available: The Direct Connect gateway is ready
	// for use.
	//
	// * deleting: The initial state after calling
	// DeleteDirectConnectGateway.
	//
	// * deleted: The Direct Connect gateway is deleted
	// and cannot pass traffic.
	DirectConnectGatewayState DirectConnectGatewayState

	// The ID of the AWS account that owns the Direct Connect gateway.
	OwnerAccount *string

	// The error message if the state of an object failed to advance.
	StateChangeError *string
}

Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.

type DirectConnectGatewayAssociation

type DirectConnectGatewayAssociation struct {

	// The Amazon VPC prefixes to advertise to the Direct Connect gateway.
	AllowedPrefixesToDirectConnectGateway []RouteFilterPrefix

	// Information about the associated gateway.
	AssociatedGateway *AssociatedGateway

	// The ID of the Direct Connect gateway association.
	AssociationId *string

	// The state of the association. The following are the possible values:
	//
	// *
	// associating: The initial state after calling
	// CreateDirectConnectGatewayAssociation.
	//
	// * associated: The Direct Connect gateway
	// and virtual private gateway or transit gateway are successfully associated and
	// ready to pass traffic.
	//
	// * disassociating: The initial state after calling
	// DeleteDirectConnectGatewayAssociation.
	//
	// * disassociated: The virtual private
	// gateway or transit gateway is disassociated from the Direct Connect gateway.
	// Traffic flow between the Direct Connect gateway and virtual private gateway or
	// transit gateway is stopped.
	AssociationState DirectConnectGatewayAssociationState

	// The ID of the Direct Connect gateway.
	DirectConnectGatewayId *string

	// The ID of the AWS account that owns the associated gateway.
	DirectConnectGatewayOwnerAccount *string

	// The error message if the state of an object failed to advance.
	StateChangeError *string

	// The ID of the virtual private gateway. Applies only to private virtual
	// interfaces.
	VirtualGatewayId *string

	// The ID of the AWS account that owns the virtual private gateway.
	VirtualGatewayOwnerAccount *string

	// The AWS Region where the virtual private gateway is located.
	//
	// Deprecated: This member has been deprecated.
	VirtualGatewayRegion *string
}

Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.

type DirectConnectGatewayAssociationProposal

type DirectConnectGatewayAssociationProposal struct {

	// Information about the associated gateway.
	AssociatedGateway *AssociatedGateway

	// The ID of the Direct Connect gateway.
	DirectConnectGatewayId *string

	// The ID of the AWS account that owns the Direct Connect gateway.
	DirectConnectGatewayOwnerAccount *string

	// The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
	ExistingAllowedPrefixesToDirectConnectGateway []RouteFilterPrefix

	// The ID of the association proposal.
	ProposalId *string

	// The state of the proposal. The following are possible values:
	//
	// * accepted: The
	// proposal has been accepted. The Direct Connect gateway association is available
	// to use in this state.
	//
	// * deleted: The proposal has been deleted by the owner
	// that made the proposal. The Direct Connect gateway association cannot be used in
	// this state.
	//
	// * requested: The proposal has been requested. The Direct Connect
	// gateway association cannot be used in this state.
	ProposalState DirectConnectGatewayAssociationProposalState

	// The Amazon VPC prefixes to advertise to the Direct Connect gateway.
	RequestedAllowedPrefixesToDirectConnectGateway []RouteFilterPrefix
}

Information about the proposal request to attach a virtual private gateway to a Direct Connect gateway.

type DirectConnectGatewayAssociationProposalState

type DirectConnectGatewayAssociationProposalState string
const (
	DirectConnectGatewayAssociationProposalStateRequested DirectConnectGatewayAssociationProposalState = "requested"
	DirectConnectGatewayAssociationProposalStateAccepted  DirectConnectGatewayAssociationProposalState = "accepted"
	DirectConnectGatewayAssociationProposalStateDeleted   DirectConnectGatewayAssociationProposalState = "deleted"
)

Enum values for DirectConnectGatewayAssociationProposalState

func (DirectConnectGatewayAssociationProposalState) Values added in v0.29.0

Values returns all known values for DirectConnectGatewayAssociationProposalState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DirectConnectGatewayAssociationState

type DirectConnectGatewayAssociationState string
const (
	DirectConnectGatewayAssociationStateAssociating    DirectConnectGatewayAssociationState = "associating"
	DirectConnectGatewayAssociationStateAssociated     DirectConnectGatewayAssociationState = "associated"
	DirectConnectGatewayAssociationStateDisassociating DirectConnectGatewayAssociationState = "disassociating"
	DirectConnectGatewayAssociationStateDisassociated  DirectConnectGatewayAssociationState = "disassociated"
	DirectConnectGatewayAssociationStateUpdating       DirectConnectGatewayAssociationState = "updating"
)

Enum values for DirectConnectGatewayAssociationState

func (DirectConnectGatewayAssociationState) Values added in v0.29.0

Values returns all known values for DirectConnectGatewayAssociationState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DirectConnectGatewayAttachment

type DirectConnectGatewayAttachment struct {

	// The state of the attachment. The following are the possible values:
	//
	// *
	// attaching: The initial state after a virtual interface is created using the
	// Direct Connect gateway.
	//
	// * attached: The Direct Connect gateway and virtual
	// interface are attached and ready to pass traffic.
	//
	// * detaching: The initial
	// state after calling DeleteVirtualInterface.
	//
	// * detached: The virtual interface
	// is detached from the Direct Connect gateway. Traffic flow between the Direct
	// Connect gateway and virtual interface is stopped.
	AttachmentState DirectConnectGatewayAttachmentState

	// The type of attachment.
	AttachmentType DirectConnectGatewayAttachmentType

	// The ID of the Direct Connect gateway.
	DirectConnectGatewayId *string

	// The error message if the state of an object failed to advance.
	StateChangeError *string

	// The ID of the virtual interface.
	VirtualInterfaceId *string

	// The ID of the AWS account that owns the virtual interface.
	VirtualInterfaceOwnerAccount *string

	// The AWS Region where the virtual interface is located.
	VirtualInterfaceRegion *string
}

Information about an attachment between a Direct Connect gateway and a virtual interface.

type DirectConnectGatewayAttachmentState

type DirectConnectGatewayAttachmentState string
const (
	DirectConnectGatewayAttachmentStateAttaching DirectConnectGatewayAttachmentState = "attaching"
	DirectConnectGatewayAttachmentStateAttached  DirectConnectGatewayAttachmentState = "attached"
	DirectConnectGatewayAttachmentStateDetaching DirectConnectGatewayAttachmentState = "detaching"
	DirectConnectGatewayAttachmentStateDetached  DirectConnectGatewayAttachmentState = "detached"
)

Enum values for DirectConnectGatewayAttachmentState

func (DirectConnectGatewayAttachmentState) Values added in v0.29.0

Values returns all known values for DirectConnectGatewayAttachmentState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DirectConnectGatewayAttachmentType

type DirectConnectGatewayAttachmentType string
const (
	DirectConnectGatewayAttachmentTypeTransitVirtualInterface DirectConnectGatewayAttachmentType = "TransitVirtualInterface"
	DirectConnectGatewayAttachmentTypePrivateVirtualInterface DirectConnectGatewayAttachmentType = "PrivateVirtualInterface"
)

Enum values for DirectConnectGatewayAttachmentType

func (DirectConnectGatewayAttachmentType) Values added in v0.29.0

Values returns all known values for DirectConnectGatewayAttachmentType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DirectConnectGatewayState

type DirectConnectGatewayState string
const (
	DirectConnectGatewayStatePending   DirectConnectGatewayState = "pending"
	DirectConnectGatewayStateAvailable DirectConnectGatewayState = "available"
	DirectConnectGatewayStateDeleting  DirectConnectGatewayState = "deleting"
	DirectConnectGatewayStateDeleted   DirectConnectGatewayState = "deleted"
)

Enum values for DirectConnectGatewayState

func (DirectConnectGatewayState) Values added in v0.29.0

Values returns all known values for DirectConnectGatewayState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DirectConnectServerException

type DirectConnectServerException struct {
	Message *string
}

A server-side error occurred.

func (*DirectConnectServerException) Error

func (*DirectConnectServerException) ErrorCode

func (e *DirectConnectServerException) ErrorCode() string

func (*DirectConnectServerException) ErrorFault

func (*DirectConnectServerException) ErrorMessage

func (e *DirectConnectServerException) ErrorMessage() string

type DuplicateTagKeysException

type DuplicateTagKeysException struct {
	Message *string
}

A tag key was specified more than once.

func (*DuplicateTagKeysException) Error

func (e *DuplicateTagKeysException) Error() string

func (*DuplicateTagKeysException) ErrorCode

func (e *DuplicateTagKeysException) ErrorCode() string

func (*DuplicateTagKeysException) ErrorFault

func (*DuplicateTagKeysException) ErrorMessage

func (e *DuplicateTagKeysException) ErrorMessage() string

type GatewayType

type GatewayType string
const (
	GatewayTypeVirtualPrivateGateway GatewayType = "virtualPrivateGateway"
	GatewayTypeTransitGateway        GatewayType = "transitGateway"
)

Enum values for GatewayType

func (GatewayType) Values added in v0.29.0

func (GatewayType) Values() []GatewayType

Values returns all known values for GatewayType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type HasLogicalRedundancy

type HasLogicalRedundancy string
const (
	HasLogicalRedundancyUnknown HasLogicalRedundancy = "unknown"
	HasLogicalRedundancyYes     HasLogicalRedundancy = "yes"
	HasLogicalRedundancyNo      HasLogicalRedundancy = "no"
)

Enum values for HasLogicalRedundancy

func (HasLogicalRedundancy) Values added in v0.29.0

Values returns all known values for HasLogicalRedundancy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Interconnect

type Interconnect struct {

	// The Direct Connect endpoint on which the physical connection terminates.
	//
	// Deprecated: This member has been deprecated.
	AwsDevice *string

	// The Direct Connect endpoint on which the physical connection terminates.
	AwsDeviceV2 *string

	// The bandwidth of the connection.
	Bandwidth *string

	// Indicates whether the interconnect supports a secondary BGP in the same address
	// family (IPv4/IPv6).
	HasLogicalRedundancy HasLogicalRedundancy

	// The ID of the interconnect.
	InterconnectId *string

	// The name of the interconnect.
	InterconnectName *string

	// The state of the interconnect. The following are the possible values:
	//
	// *
	// requested: The initial state of an interconnect. The interconnect stays in the
	// requested state until the Letter of Authorization (LOA) is sent to the
	// customer.
	//
	// * pending: The interconnect is approved, and is being initialized.
	//
	// *
	// available: The network link is up, and the interconnect is ready for use.
	//
	// *
	// down: The network link is down.
	//
	// * deleting: The interconnect is being
	// deleted.
	//
	// * deleted: The interconnect is deleted.
	//
	// * unknown: The state of the
	// interconnect is not available.
	InterconnectState InterconnectState

	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable *bool

	// The ID of the LAG.
	LagId *string

	// The time of the most recent call to DescribeLoa for this connection.
	LoaIssueTime *time.Time

	// The location of the connection.
	Location *string

	// The name of the service provider associated with the interconnect.
	ProviderName *string

	// The AWS Region where the connection is located.
	Region *string

	// The tags associated with the interconnect.
	Tags []Tag
}

Information about an interconnect.

type InterconnectState

type InterconnectState string
const (
	InterconnectStateRequested InterconnectState = "requested"
	InterconnectStatePending   InterconnectState = "pending"
	InterconnectStateAvailable InterconnectState = "available"
	InterconnectStateDown      InterconnectState = "down"
	InterconnectStateDeleting  InterconnectState = "deleting"
	InterconnectStateDeleted   InterconnectState = "deleted"
	InterconnectStateUnknown   InterconnectState = "unknown"
)

Enum values for InterconnectState

func (InterconnectState) Values added in v0.29.0

Values returns all known values for InterconnectState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Lag

type Lag struct {

	// Indicates whether the LAG can host other connections.
	AllowsHostedConnections bool

	// The AWS Direct Connect endpoint that hosts the LAG.
	//
	// Deprecated: This member has been deprecated.
	AwsDevice *string

	// The AWS Direct Connect endpoint that hosts the LAG.
	AwsDeviceV2 *string

	// The connections bundled by the LAG.
	Connections []Connection

	// The individual bandwidth of the physical connections bundled by the LAG. The
	// possible values are 1Gbps and 10Gbps.
	ConnectionsBandwidth *string

	// Indicates whether the LAG supports a secondary BGP peer in the same address
	// family (IPv4/IPv6).
	HasLogicalRedundancy HasLogicalRedundancy

	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable *bool

	// The ID of the LAG.
	LagId *string

	// The name of the LAG.
	LagName *string

	// The state of the LAG. The following are the possible values:
	//
	// * requested: The
	// initial state of a LAG. The LAG stays in the requested state until the Letter of
	// Authorization (LOA) is available.
	//
	// * pending: The LAG has been approved and is
	// being initialized.
	//
	// * available: The network link is established and the LAG is
	// ready for use.
	//
	// * down: The network link is down.
	//
	// * deleting: The LAG is being
	// deleted.
	//
	// * deleted: The LAG is deleted.
	//
	// * unknown: The state of the LAG is not
	// available.
	LagState LagState

	// The location of the LAG.
	Location *string

	// The minimum number of physical dedicated connections that must be operational
	// for the LAG itself to be operational.
	MinimumLinks int32

	// The number of physical dedicated connections bundled by the LAG, up to a maximum
	// of 10.
	NumberOfConnections int32

	// The ID of the AWS account that owns the LAG.
	OwnerAccount *string

	// The name of the service provider associated with the LAG.
	ProviderName *string

	// The AWS Region where the connection is located.
	Region *string

	// The tags associated with the LAG.
	Tags []Tag
}

Information about a link aggregation group (LAG).

type LagState

type LagState string
const (
	LagStateRequested LagState = "requested"
	LagStatePending   LagState = "pending"
	LagStateAvailable LagState = "available"
	LagStateDown      LagState = "down"
	LagStateDeleting  LagState = "deleting"
	LagStateDeleted   LagState = "deleted"
	LagStateUnknown   LagState = "unknown"
)

Enum values for LagState

func (LagState) Values added in v0.29.0

func (LagState) Values() []LagState

Values returns all known values for LagState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Loa

type Loa struct {

	// The binary contents of the LOA-CFA document.
	LoaContent []byte

	// The standard media type for the LOA-CFA document. The only supported value is
	// application/pdf.
	LoaContentType LoaContentType
}

Information about a Letter of Authorization - Connecting Facility Assignment (LOA-CFA) for a connection.

type LoaContentType

type LoaContentType string
const (
	LoaContentTypePdf LoaContentType = "application/pdf"
)

Enum values for LoaContentType

func (LoaContentType) Values added in v0.29.0

func (LoaContentType) Values() []LoaContentType

Values returns all known values for LoaContentType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Location

type Location struct {

	// The available port speeds for the location.
	AvailablePortSpeeds []string

	// The name of the service provider for the location.
	AvailableProviders []string

	// The code for the location.
	LocationCode *string

	// The name of the location. This includes the name of the colocation partner and
	// the physical site of the building.
	LocationName *string

	// The AWS Region for the location.
	Region *string
}

Information about an AWS Direct Connect location.

type NewBGPPeer

type NewBGPPeer struct {

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

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

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string
}

Information about a new BGP peer.

type NewPrivateVirtualInterface

type NewPrivateVirtualInterface struct {

	// The autonomous system (AS) number for Border Gateway Protocol (BGP)
	// configuration. The valid values are 1-2147483647.
	//
	// This member is required.
	Asn int32

	// The name of the virtual interface assigned by the customer network. The name has
	// a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a
	// hyphen (-).
	//
	// This member is required.
	VirtualInterfaceName *string

	// The ID of the VLAN.
	//
	// This member is required.
	Vlan int32

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string

	// The ID of the Direct Connect gateway.
	DirectConnectGatewayId *string

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

	// The tags associated with the private virtual interface.
	Tags []Tag

	// The ID of the virtual private gateway.
	VirtualGatewayId *string
}

Information about a private virtual interface.

type NewPrivateVirtualInterfaceAllocation

type NewPrivateVirtualInterfaceAllocation struct {

	// The autonomous system (AS) number for Border Gateway Protocol (BGP)
	// configuration. The valid values are 1-2147483647.
	//
	// This member is required.
	Asn int32

	// The name of the virtual interface assigned by the customer network. The name has
	// a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a
	// hyphen (-).
	//
	// This member is required.
	VirtualInterfaceName *string

	// The ID of the VLAN.
	//
	// This member is required.
	Vlan int32

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string

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

	// The tags associated with the private virtual interface.
	Tags []Tag
}

Information about a private virtual interface to be provisioned on a connection.

type NewPublicVirtualInterface

type NewPublicVirtualInterface struct {

	// The autonomous system (AS) number for Border Gateway Protocol (BGP)
	// configuration. The valid values are 1-2147483647.
	//
	// This member is required.
	Asn int32

	// The name of the virtual interface assigned by the customer network. The name has
	// a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a
	// hyphen (-).
	//
	// This member is required.
	VirtualInterfaceName *string

	// The ID of the VLAN.
	//
	// This member is required.
	Vlan int32

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string

	// The routes to be advertised to the AWS network in this Region. Applies to public
	// virtual interfaces.
	RouteFilterPrefixes []RouteFilterPrefix

	// The tags associated with the public virtual interface.
	Tags []Tag
}

Information about a public virtual interface.

type NewPublicVirtualInterfaceAllocation

type NewPublicVirtualInterfaceAllocation struct {

	// The autonomous system (AS) number for Border Gateway Protocol (BGP)
	// configuration. The valid values are 1-2147483647.
	//
	// This member is required.
	Asn int32

	// The name of the virtual interface assigned by the customer network. The name has
	// a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a
	// hyphen (-).
	//
	// This member is required.
	VirtualInterfaceName *string

	// The ID of the VLAN.
	//
	// This member is required.
	Vlan int32

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string

	// The routes to be advertised to the AWS network in this Region. Applies to public
	// virtual interfaces.
	RouteFilterPrefixes []RouteFilterPrefix

	// The tags associated with the public virtual interface.
	Tags []Tag
}

Information about a public virtual interface to be provisioned on a connection.

type NewTransitVirtualInterface

type NewTransitVirtualInterface struct {

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

	// The autonomous system (AS) number for Border Gateway Protocol (BGP)
	// configuration. The valid values are 1-2147483647.
	Asn int32

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string

	// The ID of the Direct Connect gateway.
	DirectConnectGatewayId *string

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

	// The tags associated with the transitive virtual interface.
	Tags []Tag

	// The name of the virtual interface assigned by the customer network. The name has
	// a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a
	// hyphen (-).
	VirtualInterfaceName *string

	// The ID of the VLAN.
	Vlan int32
}

Information about a transit virtual interface.

type NewTransitVirtualInterfaceAllocation

type NewTransitVirtualInterfaceAllocation struct {

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

	// The autonomous system (AS) number for Border Gateway Protocol (BGP)
	// configuration. The valid values are 1-2147483647.
	Asn int32

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string

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

	// The tags associated with the transitive virtual interface.
	Tags []Tag

	// The name of the virtual interface assigned by the customer network. The name has
	// a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a
	// hyphen (-).
	VirtualInterfaceName *string

	// The ID of the VLAN.
	Vlan int32
}

Information about a transit virtual interface to be provisioned on a connection.

type ResourceTag

type ResourceTag struct {

	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string

	// The tags.
	Tags []Tag
}

Information about a tag associated with an AWS Direct Connect resource.

type RouteFilterPrefix

type RouteFilterPrefix struct {

	// The CIDR block for the advertised route. Separate multiple routes using commas.
	// An IPv6 CIDR must use /64 or shorter.
	Cidr *string
}

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

type Tag

type Tag struct {

	// The key.
	//
	// This member is required.
	Key *string

	// The value.
	Value *string
}

Information about a tag.

type TooManyTagsException

type TooManyTagsException struct {
	Message *string
}

You have reached the limit on the number of tags that can be assigned.

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

type VirtualGateway

type VirtualGateway struct {

	// The ID of the virtual private gateway.
	VirtualGatewayId *string

	// The state of the virtual private gateway. The following are the possible
	// values:
	//
	// * pending: Initial state after creating the virtual private gateway.
	//
	// *
	// available: Ready for use by a private virtual interface.
	//
	// * deleting: Initial
	// state after deleting the virtual private gateway.
	//
	// * deleted: The virtual
	// private gateway is deleted. The private virtual interface is unable to send
	// traffic over this gateway.
	VirtualGatewayState *string
}

Information about a virtual private gateway for a private virtual interface.

type VirtualInterface

type VirtualInterface struct {

	// The address family for the BGP peer.
	AddressFamily AddressFamily

	// The IP address assigned to the Amazon interface.
	AmazonAddress *string

	// The autonomous system number (ASN) for the Amazon side of the connection.
	AmazonSideAsn *int64

	// The autonomous system (AS) number for Border Gateway Protocol (BGP)
	// configuration. The valid values are 1-2147483647.
	Asn int32

	// The authentication key for BGP configuration. This string has a minimum length
	// of 6 characters and and a maximun lenth of 80 characters.
	AuthKey *string

	// The Direct Connect endpoint on which the virtual interface terminates.
	AwsDeviceV2 *string

	// The BGP peers configured on this virtual interface.
	BgpPeers []BGPPeer

	// The ID of the connection.
	ConnectionId *string

	// The IP address assigned to the customer interface.
	CustomerAddress *string

	// The customer router configuration.
	CustomerRouterConfig *string

	// The ID of the Direct Connect gateway.
	DirectConnectGatewayId *string

	// Indicates whether jumbo frames (9001 MTU) are supported.
	JumboFrameCapable *bool

	// The location of the connection.
	Location *string

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

	// The ID of the AWS account that owns the virtual interface.
	OwnerAccount *string

	// The AWS Region where the virtual interface is located.
	Region *string

	// The routes to be advertised to the AWS network in this Region. Applies to public
	// virtual interfaces.
	RouteFilterPrefixes []RouteFilterPrefix

	// The tags associated with the virtual interface.
	Tags []Tag

	// The ID of the virtual private gateway. Applies only to private virtual
	// interfaces.
	VirtualGatewayId *string

	// The ID of the virtual interface.
	VirtualInterfaceId *string

	// The name of the virtual interface assigned by the customer network. The name has
	// a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a
	// hyphen (-).
	VirtualInterfaceName *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.
	VirtualInterfaceState VirtualInterfaceState

	// The type of virtual interface. The possible values are private and public.
	VirtualInterfaceType *string

	// The ID of the VLAN.
	Vlan int32
}

Information about a virtual interface.

type VirtualInterfaceState

type VirtualInterfaceState string
const (
	VirtualInterfaceStateConfirming VirtualInterfaceState = "confirming"
	VirtualInterfaceStateVerifying  VirtualInterfaceState = "verifying"
	VirtualInterfaceStatePending    VirtualInterfaceState = "pending"
	VirtualInterfaceStateAvailable  VirtualInterfaceState = "available"
	VirtualInterfaceStateDown       VirtualInterfaceState = "down"
	VirtualInterfaceStateDeleting   VirtualInterfaceState = "deleting"
	VirtualInterfaceStateDeleted    VirtualInterfaceState = "deleted"
	VirtualInterfaceStateRejected   VirtualInterfaceState = "rejected"
	VirtualInterfaceStateUnknown    VirtualInterfaceState = "unknown"
)

Enum values for VirtualInterfaceState

func (VirtualInterfaceState) Values added in v0.29.0

Values returns all known values for VirtualInterfaceState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type VirtualInterfaceTestHistory

type VirtualInterfaceTestHistory struct {

	// The BGP peers that were put in the DOWN state as part of the virtual interface
	// failover test.
	BgpPeers []string

	// The time that the virtual interface moves out of the DOWN state.
	EndTime *time.Time

	// The owner ID of the tested virtual interface.
	OwnerAccount *string

	// The time that the virtual interface moves to the DOWN state.
	StartTime *time.Time

	// The status of the virtual interface failover test.
	Status *string

	// The time that the virtual interface failover test ran in minutes.
	TestDurationInMinutes *int32

	// The ID of the virtual interface failover test.
	TestId *string

	// The ID of the tested virtual interface.
	VirtualInterfaceId *string
}

Information about the virtual interface failover test.

Jump to

Keyboard shortcuts

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