Class LoadBalancerArgs
Inherited Members
Namespace: Pulumi.Aws.ApplicationLoadBalancing
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LoadBalancerArgs : ResourceArgs
Constructors
View SourceLoadBalancerArgs()
Declaration
public LoadBalancerArgs()
Properties
View SourceAccessLogs
An Access Logs block. Access Logs documented below.
Declaration
public Input<LoadBalancerAccessLogsArgs> AccessLogs { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LoadBalancerAccessLogsArgs> |
DropInvalidHeaderFields
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.
Declaration
public Input<bool> DropInvalidHeaderFields { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableCrossZoneLoadBalancing
If true, cross-zone load balancing of the load balancer will be enabled.
This is a network load balancer feature. Defaults to false.
Declaration
public Input<bool> EnableCrossZoneLoadBalancing { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableDeletionProtection
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.
Declaration
public Input<bool> EnableDeletionProtection { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableHttp2
Indicates whether HTTP/2 is enabled in application load balancers. Defaults to true.
Declaration
public Input<bool> EnableHttp2 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IdleTimeout
The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application. Default: 60.
Declaration
public Input<int> IdleTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Internal
If true, the LB will be internal.
Declaration
public Input<bool> Internal { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IpAddressType
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack
Declaration
public Input<string> IpAddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LoadBalancerType
The type of load balancer to create. Possible values are application or network. The default value is application.
Declaration
public Input<string> LoadBalancerType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
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.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamePrefix
Creates a unique name beginning with the specified prefix. Conflicts with name.
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityGroups
A list of security group IDs to assign to the LB. Only valid for Load Balancers of type application.
Declaration
public InputList<string> SecurityGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
SubnetMappings
A subnet mapping block as documented below.
Declaration
public InputList<LoadBalancerSubnetMappingArgs> SubnetMappings { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LoadBalancerSubnetMappingArgs> |
Subnets
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.
Declaration
public InputList<string> Subnets { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |