LoadBalancerArgs constructor

const LoadBalancerArgs({
  1. Input<LoadBalancerAccessLogs?>? accessLogs,
  2. Input<List<String>?>? availabilityZones,
  3. Input<bool?>? connectionDraining,
  4. Input<int?>? connectionDrainingTimeout,
  5. Input<bool?>? crossZoneLoadBalancing,
  6. Input<String?>? desyncMitigationMode,
  7. Input<LoadBalancerHealthCheck?>? healthCheck,
  8. Input<int?>? idleTimeout,
  9. Input<List<String>?>? instances,
  10. Input<bool?>? internal,
  11. required Input<List<LoadBalancerListener>> listeners,
  12. Input<String?>? name,
  13. Input<String?>? namePrefix,
  14. Input<String?>? region,
  15. Input<List<String>?>? securityGroups,
  16. Input<String?>? sourceSecurityGroup,
  17. Input<List<String>?>? subnets,
  18. 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.

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,
});