LoadBalancerArgs class
The set of arguments for LoadBalancer. The set of arguments for LoadBalancer.
Constructors
-
LoadBalancerArgs({Input<
LoadBalancerAccessLogs?> ? accessLogs, Input<List< ? availabilityZones, Input<String> ?>bool?> ? connectionDraining, Input<int?> ? connectionDrainingTimeout, Input<bool?> ? crossZoneLoadBalancing, Input<String?> ? desyncMitigationMode, Input<LoadBalancerHealthCheck?> ? healthCheck, Input<int?> ? idleTimeout, Input<List< ? instances, Input<String> ?>bool?> ? internal, required Input<List< listeners, Input<LoadBalancerListener> >String?> ? name, Input<String?> ? namePrefix, Input<String?> ? region, Input<List< ? securityGroups, Input<String> ?>String?> ? sourceSecurityGroup, Input<List< ? subnets, Input<String> ?>Map< ? tags})String, String> ?> -
Creates a new LoadBalancerArgs.
accessLogsAn Access Logs block. Access Logs documented below.availabilityZonesThe AZ's to serve traffic in.connectionDrainingBoolean to enable connection draining. Default:falseconnectionDrainingTimeoutThe time in seconds to allow for connections to drain. Default:300crossZoneLoadBalancingEnable cross-zone load balancing. Default:truedesyncMitigationModeDetermines how the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values aremonitor,defensive(default),strictest.healthCheckA healthCheck block. Health Check documented below.idleTimeoutThe time in seconds that the connection is allowed to be idle. Default:60instancesA list of instance ids to place in the ELB pool.internalIf true, ELB will be an internal ELB.listenersA list of listener blocks. Listeners documented below.nameThe name of the ELB. By default generated by this provider.namePrefixCreates a unique name beginning with the specifiedregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.securityGroupsA list of security group IDs to assign to the ELB.sourceSecurityGroupThe name of the security group that you can use assubnetsA 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.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration 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:
falsefinal -
connectionDrainingTimeout
→ Input<
int?> ? -
The time in seconds to allow for connections to drain. Default:
300final -
crossZoneLoadBalancing
→ Input<
bool?> ? -
Enable cross-zone load balancing. Default:
truefinal -
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:
60final -
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
-
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration 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