LoadBalancerReference

class aws_cdk.aws_lightsail.LoadBalancerReference(*, load_balancer_arn, load_balancer_name)

Bases: object

A reference to a LoadBalancer resource.

Parameters:
  • load_balancer_arn (str) – The ARN of the LoadBalancer resource.

  • load_balancer_name (str) – The LoadBalancerName of the LoadBalancer resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lightsail as lightsail

load_balancer_reference = lightsail.LoadBalancerReference(
    load_balancer_arn="loadBalancerArn",
    load_balancer_name="loadBalancerName"
)

Attributes

load_balancer_arn

The ARN of the LoadBalancer resource.

load_balancer_name

The LoadBalancerName of the LoadBalancer resource.