LoadBalancerState class
Input properties used for looking up and filtering LoadBalancer resources.
Constructors
-
LoadBalancerState({Input<
LoadBalancerAccessLogs?> ? accessLogs, Input<String?> ? arn, Input<List< ? availabilityZones, Input<String> ?>bool?> ? connectionDraining, Input<int?> ? connectionDrainingTimeout, Input<bool?> ? crossZoneLoadBalancing, Input<String?> ? desyncMitigationMode, Input<String?> ? dnsName, Input<LoadBalancerHealthCheck?> ? healthCheck, Input<int?> ? idleTimeout, Input<List< ? instances, Input<String> ?>bool?> ? internal, Input<List< ? listeners, Input<LoadBalancerListener> ?>String?> ? name, Input<String?> ? namePrefix, Input<String?> ? region, Input<List< ? securityGroups, Input<String> ?>String?> ? sourceSecurityGroup, Input<String?> ? sourceSecurityGroupId, Input<List< ? subnets, Input<String> ?>Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? zoneId}) -
Creates a new LoadBalancerState.
accessLogsAn Access Logs block. Access Logs documented below.arnThe ARN of the ELBavailabilityZonesThe 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.dnsNameThe DNS name of the ELBhealthCheckA 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 assourceSecurityGroupIdThe ID 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.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.zoneIdThe canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record)const -
LoadBalancerState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accessLogs
→ Input<
LoadBalancerAccessLogs?> ? -
An Access Logs block. Access Logs documented below.
final
-
arn
→ Input<
String?> ? -
The ARN of the ELB
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 -
dnsName
→ Input<
String?> ? -
The DNS name of the ELB
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
-
sourceSecurityGroupId
→ Input<
String?> ? -
The ID of the security group that you can use as
part of your inbound rules for your load balancer's back-end application
instances. Only available on ELBs launched in a VPC.
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 -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
zoneId
→ Input<
String?> ? -
The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record)
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