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.

UpdateEndpointGroupInput

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

type UpdateEndpointGroupInput struct { EndpointConfigurations []*EndpointConfiguration `type:"list"` EndpointGroupArn *string `type:"string" required:"true"` HealthCheckIntervalSeconds *int64 `min:"10" type:"integer"` HealthCheckPath *string `type:"string"` HealthCheckPort *int64 `min:"1" type:"integer"` HealthCheckProtocol *string `type:"string" enum:"HealthCheckProtocol"` ThresholdCount *int64 `min:"1" type:"integer"` TrafficDialPercentage *float64 `type:"float"` }

EndpointConfigurations

A complex type for endpoints.

EndpointGroupArn

Type: *string

The Amazon Resource Name (ARN) of the endpoint group.

EndpointGroupArn is a required field

HealthCheckIntervalSeconds

Type: *int64

The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.

HealthCheckPath

Type: *string

If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).

HealthCheckPort

Type: *int64

The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If the listener port is a list of ports, Global Accelerator uses the first port in the list.

HealthCheckProtocol

Type: *string

The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.

ThresholdCount

Type: *int64

The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.

TrafficDialPercentage

Type: *float64

The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener.

Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.

The default value is 100.

Method

GoString

func (s UpdateEndpointGroupInput) GoString() string

GoString returns the string representation

SetEndpointConfigurations

func (s *UpdateEndpointGroupInput) SetEndpointConfigurations(v []*EndpointConfiguration) *UpdateEndpointGroupInput

SetEndpointConfigurations sets the EndpointConfigurations field's value.

SetEndpointGroupArn

func (s *UpdateEndpointGroupInput) SetEndpointGroupArn(v string) *UpdateEndpointGroupInput

SetEndpointGroupArn sets the EndpointGroupArn field's value.

SetHealthCheckIntervalSeconds

func (s *UpdateEndpointGroupInput) SetHealthCheckIntervalSeconds(v int64) *UpdateEndpointGroupInput

SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.

SetHealthCheckPath

func (s *UpdateEndpointGroupInput) SetHealthCheckPath(v string) *UpdateEndpointGroupInput

SetHealthCheckPath sets the HealthCheckPath field's value.

SetHealthCheckPort

func (s *UpdateEndpointGroupInput) SetHealthCheckPort(v int64) *UpdateEndpointGroupInput

SetHealthCheckPort sets the HealthCheckPort field's value.

SetHealthCheckProtocol

func (s *UpdateEndpointGroupInput) SetHealthCheckProtocol(v string) *UpdateEndpointGroupInput

SetHealthCheckProtocol sets the HealthCheckProtocol field's value.

SetThresholdCount

func (s *UpdateEndpointGroupInput) SetThresholdCount(v int64) *UpdateEndpointGroupInput

SetThresholdCount sets the ThresholdCount field's value.

SetTrafficDialPercentage

func (s *UpdateEndpointGroupInput) SetTrafficDialPercentage(v float64) *UpdateEndpointGroupInput

SetTrafficDialPercentage sets the TrafficDialPercentage field's value.

String

func (s UpdateEndpointGroupInput) String() string

String returns the string representation

Validate

func (s *UpdateEndpointGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: