Show / Hide Table of Contents

Class LoadBalancerArgs

Inheritance
System.Object
InputArgs
ResourceArgs
LoadBalancerArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ApplicationLoadBalancing
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LoadBalancerArgs : ResourceArgs

Constructors

View Source

LoadBalancerArgs()

Declaration
public LoadBalancerArgs()

Properties

View Source

AccessLogs

An Access Logs block. Access Logs documented below.

Declaration
public Input<LoadBalancerAccessLogsArgs> AccessLogs { get; set; }
Property Value
Type Description
Input<LoadBalancerAccessLogsArgs>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Internal

If true, the LB will be internal.

Declaration
public Input<bool> Internal { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

SubnetMappings

A subnet mapping block as documented below.

Declaration
public InputList<LoadBalancerSubnetMappingArgs> SubnetMappings { get; set; }
Property Value
Type Description
InputList<LoadBalancerSubnetMappingArgs>
View Source

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>
View Source

Tags

A map of tags to assign to the resource.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.