LoadBalancerArgs constructor
- Input<
LoadBalancerAccessLogs?> ? accessLogs, - Input<
List< ? availabilityZones,String> ?> - Input<
bool?> ? connectionDraining, - Input<
int?> ? connectionDrainingTimeout, - Input<
bool?> ? crossZoneLoadBalancing, - Input<
String?> ? desyncMitigationMode, - Input<
LoadBalancerHealthCheck?> ? healthCheck, - Input<
int?> ? idleTimeout, - Input<
List< ? instances,String> ?> - Input<
bool?> ? internal, - required Input<
List< listeners,LoadBalancerListener> > - Input<
String?> ? name, - Input<
String?> ? namePrefix, - Input<
String?> ? region, - Input<
List< ? securityGroups,String> ?> - Input<
String?> ? sourceSecurityGroup, - Input<
List< ? subnets,String> ?> - Input<
Map< ? tags,String, String> ?>
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.
Implementation
const LoadBalancerArgs({
this.accessLogs,
this.availabilityZones,
this.connectionDraining,
this.connectionDrainingTimeout,
this.crossZoneLoadBalancing,
this.desyncMitigationMode,
this.healthCheck,
this.idleTimeout,
this.instances,
this.internal,
required this.listeners,
this.name,
this.namePrefix,
this.region,
this.securityGroups,
this.sourceSecurityGroup,
this.subnets,
this.tags,
});