LoadBalancerArgs class

The set of arguments for LoadBalancer. The set of arguments for LoadBalancer.

Constructors

LoadBalancerArgs({Input<LoadBalancerAccessLogs?>? accessLogs, Input<List<String>?>? availabilityZones, Input<bool?>? connectionDraining, Input<int?>? connectionDrainingTimeout, Input<bool?>? crossZoneLoadBalancing, Input<String?>? desyncMitigationMode, Input<LoadBalancerHealthCheck?>? healthCheck, Input<int?>? idleTimeout, Input<List<String>?>? instances, Input<bool?>? internal, required Input<List<LoadBalancerListener>> listeners, Input<String?>? name, Input<String?>? namePrefix, Input<String?>? region, Input<List<String>?>? securityGroups, Input<String?>? sourceSecurityGroup, Input<List<String>?>? subnets, Input<Map<String, String>?>? tags})
Creates a new LoadBalancerArgs. accessLogs An Access Logs block. Access Logs documented below. availabilityZones The AZ's to serve traffic in. connectionDraining Boolean to enable connection draining. Default: false connectionDrainingTimeout The time in seconds to allow for connections to drain. Default: 300 crossZoneLoadBalancing Enable cross-zone load balancing. Default: true desyncMitigationMode Determines how the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are monitor, defensive (default), strictest. healthCheck A healthCheck block. Health Check documented below. idleTimeout The time in seconds that the connection is allowed to be idle. Default: 60 instances A list of instance ids to place in the ELB pool. internal If true, ELB will be an internal ELB. listeners A list of listener blocks. Listeners documented below. name The name of the ELB. By default generated by this provider. namePrefix Creates a unique name beginning with the specified region Region where this resource will be managed. Defaults to the Region set in the provider configuration. securityGroups A list of security group IDs to assign to the ELB. sourceSecurityGroup The name of the security group that you can use as subnets A list of subnet IDs to attach to the ELB. When an update to subnets will remove all current subnets, this will force a new resource. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
const
LoadBalancerArgs.fromMap(Map<String, dynamic> map)
factory

Properties

accessLogs → Input<LoadBalancerAccessLogs?>?
An Access Logs block. Access Logs documented below.
final
availabilityZones → Input<List<String>?>?
The AZ's to serve traffic in.
final
connectionDraining → Input<bool?>?
Boolean to enable connection draining. Default: false
final
connectionDrainingTimeout → Input<int?>?
The time in seconds to allow for connections to drain. Default: 300
final
crossZoneLoadBalancing → Input<bool?>?
Enable cross-zone load balancing. Default: true
final
desyncMitigationMode → Input<String?>?
Determines how the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are monitor, defensive (default), strictest.
final
hashCode → int
The hash code for this object.
no setterinherited
healthCheck → Input<LoadBalancerHealthCheck?>?
A healthCheck block. Health Check documented below.
final
idleTimeout → Input<int?>?
The time in seconds that the connection is allowed to be idle. Default: 60
final
instances → Input<List<String>?>?
A list of instance ids to place in the ELB pool.
final
internal → Input<bool?>?
If true, ELB will be an internal ELB.
final
listeners → Input<List<LoadBalancerListener>>
A list of listener blocks. Listeners documented below.
final
name → Input<String?>?
The name of the ELB. By default generated by this provider.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityGroups → Input<List<String>?>?
A list of security group IDs to assign to the ELB. Only valid if creating an ELB within a VPC
final
sourceSecurityGroup → Input<String?>?
The name of the security group that you can use as part of your inbound rules for your load balancer's back-end application instances. Use this for Classic or Default VPC only.
final
subnets → Input<List<String>?>?
A list of subnet IDs to attach to the ELB. When an update to subnets will remove all current subnets, this will force a new resource.
final
tags → Input<Map<String, String>?>?
A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited