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.

Lag

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

type Lag struct { AllowsHostedConnections *bool `locationName:"allowsHostedConnections" type:"boolean"` AwsDevice *string `locationName:"awsDevice" deprecated:"true" type:"string"` AwsDeviceV2 *string `locationName:"awsDeviceV2" type:"string"` Connections []*Connection `locationName:"connections" type:"list"` ConnectionsBandwidth *string `locationName:"connectionsBandwidth" type:"string"` HasLogicalRedundancy *string `locationName:"hasLogicalRedundancy" type:"string" enum:"HasLogicalRedundancy"` JumboFrameCapable *bool `locationName:"jumboFrameCapable" type:"boolean"` LagId *string `locationName:"lagId" type:"string"` LagName *string `locationName:"lagName" type:"string"` LagState *string `locationName:"lagState" type:"string" enum:"LagState"` Location *string `locationName:"location" type:"string"` MinimumLinks *int64 `locationName:"minimumLinks" type:"integer"` NumberOfConnections *int64 `locationName:"numberOfConnections" type:"integer"` OwnerAccount *string `locationName:"ownerAccount" type:"string"` Region *string `locationName:"region" type:"string"` }

Information about a link aggregation group (LAG).

AllowsHostedConnections

Type: *bool

Indicates whether the LAG can host other connections.

AwsDevice

Type: *string

The Direct Connect endpoint that hosts the LAG.

AwsDeviceV2

Type: *string

The Direct Connect endpoint that hosts the LAG.

Connections

Information about an AWS Direct Connect connection.

ConnectionsBandwidth

Type: *string

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

HasLogicalRedundancy

Type: *string

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

JumboFrameCapable

Type: *bool

Indicates whether jumbo frames (9001 MTU) are supported.

LagId

Type: *string

The ID of the LAG.

LagName

Type: *string

The name of the LAG.

LagState

Type: *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.

Location

Type: *string

The location of the LAG.

MinimumLinks

Type: *int64

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

NumberOfConnections

Type: *int64

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

OwnerAccount

Type: *string

The ID of the AWS account that owns the LAG.

Region

Type: *string

The AWS Region where the connection is located.

Method

GoString

func (s Lag) GoString() string

GoString returns the string representation

SetAllowsHostedConnections

func (s *Lag) SetAllowsHostedConnections(v bool) *Lag

SetAllowsHostedConnections sets the AllowsHostedConnections field's value.

SetAwsDevice

func (s *Lag) SetAwsDevice(v string) *Lag

SetAwsDevice sets the AwsDevice field's value.

SetAwsDeviceV2

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

SetAwsDeviceV2 sets the AwsDeviceV2 field's value.

SetConnections

func (s *Lag) SetConnections(v []*Connection) *Lag

SetConnections sets the Connections field's value.

SetConnectionsBandwidth

func (s *Lag) SetConnectionsBandwidth(v string) *Lag

SetConnectionsBandwidth sets the ConnectionsBandwidth field's value.

SetHasLogicalRedundancy

func (s *Lag) SetHasLogicalRedundancy(v string) *Lag

SetHasLogicalRedundancy sets the HasLogicalRedundancy field's value.

SetJumboFrameCapable

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

SetJumboFrameCapable sets the JumboFrameCapable field's value.

SetLagId

func (s *Lag) SetLagId(v string) *Lag

SetLagId sets the LagId field's value.

SetLagName

func (s *Lag) SetLagName(v string) *Lag

SetLagName sets the LagName field's value.

SetLagState

func (s *Lag) SetLagState(v string) *Lag

SetLagState sets the LagState field's value.

SetLocation

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

SetLocation sets the Location field's value.

func (s *Lag) SetMinimumLinks(v int64) *Lag

SetMinimumLinks sets the MinimumLinks field's value.

SetNumberOfConnections

func (s *Lag) SetNumberOfConnections(v int64) *Lag

SetNumberOfConnections sets the NumberOfConnections field's value.

SetOwnerAccount

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

SetOwnerAccount sets the OwnerAccount field's value.

SetRegion

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

SetRegion sets the Region field's value.

String

func (s Lag) String() string

String returns the string representation

On this page: