LoadBalancer

Provides a Load Balancer resource.

Note: aws.alb.LoadBalancer is known as aws.lb.LoadBalancer. The functionality is identical.

Example Usage

Specifying Elastic IPs

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Aws.LB.LoadBalancer("example", new Aws.LB.LoadBalancerArgs
        {
            LoadBalancerType = "network",
            SubnetMappings = 
            {
                new Aws.LB.Inputs.LoadBalancerSubnetMappingArgs
                {
                    AllocationId = aws_eip.Example1.Id,
                    SubnetId = aws_subnet.Example1.Id,
                },
                new Aws.LB.Inputs.LoadBalancerSubnetMappingArgs
                {
                    AllocationId = aws_eip.Example2.Id,
                    SubnetId = aws_subnet.Example2.Id,
                },
            },
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/lb"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
            LoadBalancerType: pulumi.String("network"),
            SubnetMappings: lb.LoadBalancerSubnetMappingArray{
                &lb.LoadBalancerSubnetMappingArgs{
                    AllocationId: pulumi.String(aws_eip.Example1.Id),
                    SubnetId:     pulumi.String(aws_subnet.Example1.Id),
                },
                &lb.LoadBalancerSubnetMappingArgs{
                    AllocationId: pulumi.String(aws_eip.Example2.Id),
                    SubnetId:     pulumi.String(aws_subnet.Example2.Id),
                },
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.lb.LoadBalancer("example",
    load_balancer_type="network",
    subnet_mappings=[
        {
            "allocation_id": aws_eip["example1"]["id"],
            "subnet_id": aws_subnet["example1"]["id"],
        },
        {
            "allocation_id": aws_eip["example2"]["id"],
            "subnet_id": aws_subnet["example2"]["id"],
        },
    ])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.lb.LoadBalancer("example", {
    loadBalancerType: "network",
    subnetMappings: [
        {
            allocationId: aws_eip_example1.id,
            subnetId: aws_subnet_example1.id,
        },
        {
            allocationId: aws_eip_example2.id,
            subnetId: aws_subnet_example2.id,
        },
    ],
});

Deprecated: aws.applicationloadbalancing.LoadBalancer has been deprecated in favor of aws.alb.LoadBalancer

Create a LoadBalancer Resource

def LoadBalancer(resource_name, opts=None, access_logs=None, drop_invalid_header_fields=None, enable_cross_zone_load_balancing=None, enable_deletion_protection=None, enable_http2=None, idle_timeout=None, internal=None, ip_address_type=None, load_balancer_type=None, name=None, name_prefix=None, security_groups=None, subnet_mappings=None, subnets=None, tags=None, __props__=None);
func NewLoadBalancer(ctx *Context, name string, args *LoadBalancerArgs, opts ...ResourceOption) (*LoadBalancer, error)
public LoadBalancer(string name, LoadBalancerArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args LoadBalancerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args LoadBalancerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LoadBalancerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

LoadBalancer Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The LoadBalancer resource accepts the following input properties:

AccessLogs LoadBalancerAccessLogsArgs

An Access Logs block. Access Logs documented below.

DropInvalidHeaderFields bool

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

EnableCrossZoneLoadBalancing bool

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

EnableDeletionProtection bool

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

EnableHttp2 bool

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

IdleTimeout int

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

Internal bool

If true, the LB will be internal.

IpAddressType string

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

LoadBalancerType string

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

Name string

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

SecurityGroups List<string>

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

SubnetMappings List<LoadBalancerSubnetMappingArgs>

A subnet mapping block as documented below.

Subnets List<string>

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

AccessLogs LoadBalancerAccessLogs

An Access Logs block. Access Logs documented below.

DropInvalidHeaderFields bool

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

EnableCrossZoneLoadBalancing bool

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

EnableDeletionProtection bool

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

EnableHttp2 bool

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

IdleTimeout int

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

Internal bool

If true, the LB will be internal.

IpAddressType string

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

LoadBalancerType string

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

Name string

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

SecurityGroups []string

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

SubnetMappings []LoadBalancerSubnetMapping

A subnet mapping block as documented below.

Subnets []string

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

Tags map[string]string

A map of tags to assign to the resource.

accessLogs LoadBalancerAccessLogs

An Access Logs block. Access Logs documented below.

dropInvalidHeaderFields boolean

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

enableCrossZoneLoadBalancing boolean

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

enableDeletionProtection boolean

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

enableHttp2 boolean

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

idleTimeout number

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

internal boolean

If true, the LB will be internal.

ipAddressType IpAddressType

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

loadBalancerType LoadBalancerType

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

name string

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

namePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

securityGroups string[]

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

subnetMappings LoadBalancerSubnetMapping[]

A subnet mapping block as documented below.

subnets string[]

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

tags {[key: string]: string}

A map of tags to assign to the resource.

access_logs Dict[LoadBalancerAccessLogs]

An Access Logs block. Access Logs documented below.

drop_invalid_header_fields bool

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

enable_cross_zone_load_balancing bool

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

enable_deletion_protection bool

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

enable_http2 bool

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

idle_timeout float

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

internal bool

If true, the LB will be internal.

ip_address_type str

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

load_balancer_type str

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

name str

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

name_prefix str

Creates a unique name beginning with the specified prefix. Conflicts with name.

security_groups List[str]

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

subnet_mappings List[LoadBalancerSubnetMapping]

A subnet mapping block as documented below.

subnets List[str]

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

tags Dict[str, str]

A map of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the LoadBalancer resource produces the following output properties:

Arn string

The ARN of the load balancer (matches id).

ArnSuffix string

The ARN suffix for use with CloudWatch Metrics.

DnsName string

The DNS name of the load balancer.

Id string
The provider-assigned unique ID for this managed resource.
VpcId string
ZoneId string

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

Arn string

The ARN of the load balancer (matches id).

ArnSuffix string

The ARN suffix for use with CloudWatch Metrics.

DnsName string

The DNS name of the load balancer.

Id string
The provider-assigned unique ID for this managed resource.
VpcId string
ZoneId string

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

arn string

The ARN of the load balancer (matches id).

arnSuffix string

The ARN suffix for use with CloudWatch Metrics.

dnsName string

The DNS name of the load balancer.

id string
The provider-assigned unique ID for this managed resource.
vpcId string
zoneId string

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

arn str

The ARN of the load balancer (matches id).

arn_suffix str

The ARN suffix for use with CloudWatch Metrics.

dns_name str

The DNS name of the load balancer.

id str
The provider-assigned unique ID for this managed resource.
vpc_id str
zone_id str

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

Look up an Existing LoadBalancer Resource

Get an existing LoadBalancer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: LoadBalancerState, opts?: CustomResourceOptions): LoadBalancer
static get(resource_name, id, opts=None, access_logs=None, arn=None, arn_suffix=None, dns_name=None, drop_invalid_header_fields=None, enable_cross_zone_load_balancing=None, enable_deletion_protection=None, enable_http2=None, idle_timeout=None, internal=None, ip_address_type=None, load_balancer_type=None, name=None, name_prefix=None, security_groups=None, subnet_mappings=None, subnets=None, tags=None, vpc_id=None, zone_id=None, __props__=None);
func GetLoadBalancer(ctx *Context, name string, id IDInput, state *LoadBalancerState, opts ...ResourceOption) (*LoadBalancer, error)
public static LoadBalancer Get(string name, Input<string> id, LoadBalancerState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccessLogs LoadBalancerAccessLogsArgs

An Access Logs block. Access Logs documented below.

Arn string

The ARN of the load balancer (matches id).

ArnSuffix string

The ARN suffix for use with CloudWatch Metrics.

DnsName string

The DNS name of the load balancer.

DropInvalidHeaderFields bool

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

EnableCrossZoneLoadBalancing bool

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

EnableDeletionProtection bool

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

EnableHttp2 bool

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

IdleTimeout int

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

Internal bool

If true, the LB will be internal.

IpAddressType string

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

LoadBalancerType string

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

Name string

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

SecurityGroups List<string>

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

SubnetMappings List<LoadBalancerSubnetMappingArgs>

A subnet mapping block as documented below.

Subnets List<string>

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

VpcId string
ZoneId string

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

AccessLogs LoadBalancerAccessLogs

An Access Logs block. Access Logs documented below.

Arn string

The ARN of the load balancer (matches id).

ArnSuffix string

The ARN suffix for use with CloudWatch Metrics.

DnsName string

The DNS name of the load balancer.

DropInvalidHeaderFields bool

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

EnableCrossZoneLoadBalancing bool

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

EnableDeletionProtection bool

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

EnableHttp2 bool

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

IdleTimeout int

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

Internal bool

If true, the LB will be internal.

IpAddressType string

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

LoadBalancerType string

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

Name string

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

SecurityGroups []string

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

SubnetMappings []LoadBalancerSubnetMapping

A subnet mapping block as documented below.

Subnets []string

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

Tags map[string]string

A map of tags to assign to the resource.

VpcId string
ZoneId string

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

accessLogs LoadBalancerAccessLogs

An Access Logs block. Access Logs documented below.

arn string

The ARN of the load balancer (matches id).

arnSuffix string

The ARN suffix for use with CloudWatch Metrics.

dnsName string

The DNS name of the load balancer.

dropInvalidHeaderFields boolean

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

enableCrossZoneLoadBalancing boolean

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

enableDeletionProtection boolean

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

enableHttp2 boolean

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

idleTimeout number

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

internal boolean

If true, the LB will be internal.

ipAddressType IpAddressType

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

loadBalancerType LoadBalancerType

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

name string

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

namePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

securityGroups string[]

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

subnetMappings LoadBalancerSubnetMapping[]

A subnet mapping block as documented below.

subnets string[]

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

tags {[key: string]: string}

A map of tags to assign to the resource.

vpcId string
zoneId string

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

access_logs Dict[LoadBalancerAccessLogs]

An Access Logs block. Access Logs documented below.

arn str

The ARN of the load balancer (matches id).

arn_suffix str

The ARN suffix for use with CloudWatch Metrics.

dns_name str

The DNS name of the load balancer.

drop_invalid_header_fields bool

Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application.

enable_cross_zone_load_balancing bool

If true, cross-zone load balancing of the load balancer will be enabled. This is a network load balancer feature. Defaults to false.

enable_deletion_protection bool

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

enable_http2 bool

Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.

idle_timeout float

The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.

internal bool

If true, the LB will be internal.

ip_address_type str

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

load_balancer_type str

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

name str

The name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with tf-lb.

name_prefix str

Creates a unique name beginning with the specified prefix. Conflicts with name.

security_groups List[str]

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

subnet_mappings List[LoadBalancerSubnetMapping]

A subnet mapping block as documented below.

subnets List[str]

A list of subnet IDs to attach to the LB. Subnets cannot be updated for Load Balancers of type network. Changing this value for load balancers of type network will force a recreation of the resource.

tags Dict[str, str]

A map of tags to assign to the resource.

vpc_id str
zone_id str

The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).

Supporting Types

LoadBalancerAccessLogs

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Bucket string

The S3 bucket name to store the logs in.

Enabled bool

Boolean to enable / disable access_logs. Defaults to false, even when bucket is specified.

Prefix string

The S3 bucket prefix. Logs are stored in the root if not configured.

Bucket string

The S3 bucket name to store the logs in.

Enabled bool

Boolean to enable / disable access_logs. Defaults to false, even when bucket is specified.

Prefix string

The S3 bucket prefix. Logs are stored in the root if not configured.

bucket string

The S3 bucket name to store the logs in.

enabled boolean

Boolean to enable / disable access_logs. Defaults to false, even when bucket is specified.

prefix string

The S3 bucket prefix. Logs are stored in the root if not configured.

bucket str

The S3 bucket name to store the logs in.

enabled bool

Boolean to enable / disable access_logs. Defaults to false, even when bucket is specified.

prefix str

The S3 bucket prefix. Logs are stored in the root if not configured.

LoadBalancerSubnetMapping

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SubnetId string

The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone.

AllocationId string

The allocation ID of the Elastic IP address.

SubnetId string

The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone.

AllocationId string

The allocation ID of the Elastic IP address.

subnetId string

The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone.

allocationId string

The allocation ID of the Elastic IP address.

subnet_id str

The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone.

allocation_id str

The allocation ID of the Elastic IP address.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.