Class LoadBalancerState
Inheritance
System.Object
LoadBalancerState
Inherited Members
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()
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LoadBalancerState : ResourceArgs
Constructors
View Source
LoadBalancerState()
Declaration
public LoadBalancerState()
Properties
View Source
AccessLogs
An Access Logs block. Access Logs documented below.
Declaration
public Input<LoadBalancerAccessLogsGetArgs> AccessLogs { get; set; }
Property Value
View Source
Arn
The ARN of the load balancer (matches id).
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ArnSuffix
The ARN suffix for use with CloudWatch Metrics.
Declaration
public Input<string> ArnSuffix { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DnsName
The DNS name of the load balancer.
Declaration
public Input<string> DnsName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
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
View Source
SubnetMappings
A subnet mapping block as documented below.
Declaration
public InputList<LoadBalancerSubnetMappingGetArgs> SubnetMappings { get; set; }
Property Value
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
View Source
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
VpcId
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ZoneId
The canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).
Declaration
public Input<string> ZoneId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|