Interface LoadBalancerArgs

interface LoadBalancerArgs {
    enableDeletionProtection?: any;
    external?: boolean;
    ipAddressType?: any;
    loadBalancer?: any;
    loadBalancerType: Input<"application" | "network">;
    name?: string;
    securityGroups?: any[];
    subnetMappings?: any;
    subnets?: any;
    tags?: any;
    vpc?: classic.ec2.Vpc;
}

Properties

enableDeletionProtection?: any

If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to false.

external?: boolean

Whether or not the load balancer is exposed to the internet. Defaults to true if unspecified.

ipAddressType?: any

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack

loadBalancer?: any

An existing aws.lb.LoadBalancer to use for this awsx.lb.LoadBalancer. If this value is set then all other arguments are ignored. If not provided, one will be created.

loadBalancerType: Input<"application" | "network">

The type of load balancer to create. Possible values are application or network.

name?: string

Deprecated

Not used. Supply the name you want for a LoadBalancer through the [name] constructor arg.

securityGroups?: any[]

A list of security group IDs to assign to the LB. Only valid for Load Balancers of type application.

subnetMappings?: any

A subnet mapping block as documented below.

subnets?: any

The subnets to use for the load balancer. If not provided, the appropriate external or internal subnets of the [network] will be used.

tags?: any

A mapping of tags to assign to the resource.

The vpc this load balancer will be used with. Defaults to [Vpc.getDefault] if unspecified.

Generated using TypeDoc