awselasticloadbalancingv2targets

package
v1.145.0-devpreview Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlbArnTarget_Override

func NewAlbArnTarget_Override(a AlbArnTarget, albArn *string, port *float64)

Create a new alb target. Experimental.

func NewAlbTarget_Override

func NewAlbTarget_Override(a AlbTarget, alb awselasticloadbalancingv2.ApplicationLoadBalancer, port *float64)

Experimental.

func NewInstanceIdTarget_Override

func NewInstanceIdTarget_Override(i InstanceIdTarget, instanceId *string, port *float64)

Create a new Instance target. Experimental.

func NewInstanceTarget_Override

func NewInstanceTarget_Override(i InstanceTarget, instance awsec2.Instance, port *float64)

Create a new Instance target. Experimental.

func NewIpTarget_Override

func NewIpTarget_Override(i IpTarget, ipAddress *string, port *float64, availabilityZone *string)

Create a new IPAddress target.

The availabilityZone parameter determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer.

This parameter is not supported if the target type of the target group is instance. If the IP address is in a subnet of the VPC for the target group, the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside the VPC, this parameter is required.

With an Application Load Balancer, if the IP address is outside the VPC for the target group, the only supported value is all.

Default is automatic. Experimental.

func NewLambdaTarget_Override

func NewLambdaTarget_Override(l LambdaTarget, fn awslambda.IFunction)

Create a new Lambda target. Experimental.

Types

type AlbArnTarget

A single Application Load Balancer as the target for load balancing.

TODO: EXAMPLE

Experimental.

func NewAlbArnTarget

func NewAlbArnTarget(albArn *string, port *float64) AlbArnTarget

Create a new alb target. Experimental.

type AlbTarget

type AlbTarget interface {
	AlbArnTarget
	AttachToNetworkTargetGroup(targetGroup awselasticloadbalancingv2.INetworkTargetGroup) *awselasticloadbalancingv2.LoadBalancerTargetProps
}

A single Application Load Balancer as the target for load balancing.

TODO: EXAMPLE

Experimental.

func NewAlbTarget

Experimental.

type InstanceIdTarget

An EC2 instance that is the target for load balancing.

If you register a target of this type, you are responsible for making sure the load balancer's security group can connect to the instance.

TODO: EXAMPLE

Experimental.

func NewInstanceIdTarget

func NewInstanceIdTarget(instanceId *string, port *float64) InstanceIdTarget

Create a new Instance target. Experimental.

type InstanceTarget

TODO: EXAMPLE

Experimental.

func NewInstanceTarget

func NewInstanceTarget(instance awsec2.Instance, port *float64) InstanceTarget

Create a new Instance target. Experimental.

type IpTarget

An IP address that is a target for load balancing.

Specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

If you register a target of this type, you are responsible for making sure the load balancer's security group can send packets to the IP address.

TODO: EXAMPLE

Experimental.

func NewIpTarget

func NewIpTarget(ipAddress *string, port *float64, availabilityZone *string) IpTarget

Create a new IPAddress target.

The availabilityZone parameter determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer.

This parameter is not supported if the target type of the target group is instance. If the IP address is in a subnet of the VPC for the target group, the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside the VPC, this parameter is required.

With an Application Load Balancer, if the IP address is outside the VPC for the target group, the only supported value is all.

Default is automatic. Experimental.

type LambdaTarget

TODO: EXAMPLE

Experimental.

func NewLambdaTarget

func NewLambdaTarget(fn awslambda.IFunction) LambdaTarget

Create a new Lambda target. Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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