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.

LoadBalancerDescription

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

type LoadBalancerDescription struct { AvailabilityZones []*string `type:"list"` BackendServerDescriptions []*BackendServerDescription `type:"list"` CanonicalHostedZoneName *string `type:"string"` CanonicalHostedZoneNameID *string `type:"string"` CreatedTime *time.Time `type:"timestamp"` DNSName *string `type:"string"` HealthCheck *HealthCheck `type:"structure"` Instances []*Instance `type:"list"` ListenerDescriptions []*ListenerDescription `type:"list"` LoadBalancerName *string `type:"string"` Policies *Policies `type:"structure"` Scheme *string `type:"string"` SecurityGroups []*string `type:"list"` SourceSecurityGroup *SourceSecurityGroup `type:"structure"` Subnets []*string `type:"list"` VPCId *string `type:"string"` }

Information about a load balancer.

AvailabilityZones

Type: []*string

The Availability Zones for the load balancer.

BackendServerDescriptions

Information about the configuration of an EC2 instance.

CanonicalHostedZoneName

Type: *string

The DNS name of the load balancer.

For more information, see Configure a Custom Domain Name (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/using-domain-names-with-elb.html) in the Classic Load Balancers Guide.

CanonicalHostedZoneNameID

Type: *string

The ID of the Amazon Route 53 hosted zone for the load balancer.

CreatedTime

Type: *time.Time

The date and time the load balancer was created.

DNSName

Type: *string

The DNS name of the load balancer.

HealthCheck

Information about a health check.

Instances

The ID of an EC2 instance.

ListenerDescriptions

The policies enabled for a listener.

LoadBalancerName

Type: *string

The name of the load balancer.

Policies

The policies for a load balancer.

Scheme

Type: *string

The type of load balancer. Valid only for load balancers in a VPC.

If Scheme is internet-facing, the load balancer has a public DNS name that resolves to a public IP address.

If Scheme is internal, the load balancer has a public DNS name that resolves to a private IP address.

SecurityGroups

Type: []*string

The security groups for the load balancer. Valid only for load balancers in a VPC.

SourceSecurityGroup

Information about a source security group.

Subnets

Type: []*string

The IDs of the subnets for the load balancer.

VPCId

Type: *string

The ID of the VPC for the load balancer.

Method

GoString

func (s LoadBalancerDescription) GoString() string

GoString returns the string representation

SetAvailabilityZones

func (s *LoadBalancerDescription) SetAvailabilityZones(v []*string) *LoadBalancerDescription

SetAvailabilityZones sets the AvailabilityZones field's value.

SetBackendServerDescriptions

func (s *LoadBalancerDescription) SetBackendServerDescriptions(v []*BackendServerDescription) *LoadBalancerDescription

SetBackendServerDescriptions sets the BackendServerDescriptions field's value.

SetCanonicalHostedZoneName

func (s *LoadBalancerDescription) SetCanonicalHostedZoneName(v string) *LoadBalancerDescription

SetCanonicalHostedZoneName sets the CanonicalHostedZoneName field's value.

SetCanonicalHostedZoneNameID

func (s *LoadBalancerDescription) SetCanonicalHostedZoneNameID(v string) *LoadBalancerDescription

SetCanonicalHostedZoneNameID sets the CanonicalHostedZoneNameID field's value.

SetCreatedTime

func (s *LoadBalancerDescription) SetCreatedTime(v time.Time) *LoadBalancerDescription

SetCreatedTime sets the CreatedTime field's value.

SetDNSName

func (s *LoadBalancerDescription) SetDNSName(v string) *LoadBalancerDescription

SetDNSName sets the DNSName field's value.

SetHealthCheck

func (s *LoadBalancerDescription) SetHealthCheck(v *HealthCheck) *LoadBalancerDescription

SetHealthCheck sets the HealthCheck field's value.

SetInstances

func (s *LoadBalancerDescription) SetInstances(v []*Instance) *LoadBalancerDescription

SetInstances sets the Instances field's value.

SetListenerDescriptions

func (s *LoadBalancerDescription) SetListenerDescriptions(v []*ListenerDescription) *LoadBalancerDescription

SetListenerDescriptions sets the ListenerDescriptions field's value.

SetLoadBalancerName

func (s *LoadBalancerDescription) SetLoadBalancerName(v string) *LoadBalancerDescription

SetLoadBalancerName sets the LoadBalancerName field's value.

SetPolicies

func (s *LoadBalancerDescription) SetPolicies(v *Policies) *LoadBalancerDescription

SetPolicies sets the Policies field's value.

SetScheme

func (s *LoadBalancerDescription) SetScheme(v string) *LoadBalancerDescription

SetScheme sets the Scheme field's value.

SetSecurityGroups

func (s *LoadBalancerDescription) SetSecurityGroups(v []*string) *LoadBalancerDescription

SetSecurityGroups sets the SecurityGroups field's value.

SetSourceSecurityGroup

func (s *LoadBalancerDescription) SetSourceSecurityGroup(v *SourceSecurityGroup) *LoadBalancerDescription

SetSourceSecurityGroup sets the SourceSecurityGroup field's value.

SetSubnets

func (s *LoadBalancerDescription) SetSubnets(v []*string) *LoadBalancerDescription

SetSubnets sets the Subnets field's value.

SetVPCId

func (s *LoadBalancerDescription) SetVPCId(v string) *LoadBalancerDescription

SetVPCId sets the VPCId field's value.

String

func (s LoadBalancerDescription) String() string

String returns the string representation

On this page: