Boolean enabled
Specifies whether access logs are enabled for the load balancer.
String s3BucketName
The name of the Amazon S3 bucket where the access logs are stored.
Integer emitInterval
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
String s3BucketPrefix
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
. If the prefix is not provided, the
log is placed at the root level of the bucket.
String loadBalancerName
The name of the load balancer.
HealthCheck healthCheck
The configuration information.
HealthCheck healthCheck
The updated health check.
Integer idleTimeout
The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
Constraints:
Range: 1 - 3600
String loadBalancerName
The name of the load balancer.
String policyName
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
String cookieName
The name of the application cookie used for stickiness.
String loadBalancerName
The name of the load balancer.
String policyName
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
Long cookieExpirationPeriod
The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.
String loadBalancerName
The name of the load balancer.
String policyName
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
String policyTypeName
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.
List<E> policyAttributes
The policy attributes.
String loadBalancerName
The name of the load balancer.
This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.
List<E> listeners
The listeners.
For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.
List<E> availabilityZones
One or more Availability Zones from the same region as the load balancer.
You must specify at least one Availability Zone.
You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.
List<E> subnets
The IDs of the subnets in your VPC to attach to the load balancer.
Specify one subnet per Availability Zone specified in
AvailabilityZones
.
List<E> securityGroups
The IDs of the security groups to assign to the load balancer.
String scheme
The type of a load balancer. Valid only for load balancers in a VPC.
By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide.
Specify internal
to create a load balancer with a DNS name
that resolves to private IP addresses.
List<E> tags
A list of tags to assign to the load balancer.
For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.
String dNSName
The DNS name of the load balancer.
Boolean enabled
Specifies whether cross-zone load balancing is enabled for the load balancer.
String loadBalancerName
The name of the load balancer.
String loadBalancerName
The name of the load balancer.
LoadBalancerAttributes loadBalancerAttributes
Information about the load balancer attributes.
List<E> loadBalancerNames
The names of the load balancers.
String marker
The marker for the next set of results. (You received this marker from a previous call.)
Integer pageSize
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
Constraints:
Range: 1 - 400
String target
The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.
TCP is the default, specified as a TCP: port pair, for example "TCP:5000". In this case, a health check simply attempts to open a TCP connection to the instance on the specified port. Failure to connect within the configured timeout is considered unhealthy.
SSL is also specified as SSL: port pair, for example, SSL:5000.
For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". In this case, a HTTP GET request is issued to the instance on the given port and path. Any answer other than "200 OK" within the timeout period is considered unhealthy.
The total length of the HTTP ping target must be 1024 16-bit Unicode characters or less.
Integer interval
The approximate interval, in seconds, between health checks of an individual instance.
Constraints:
Range: 5 - 300
Integer timeout
The amount of time, in seconds, during which no response means a failed health check.
This value must be less than the Interval
value.
Constraints:
Range: 2 - 60
Integer unhealthyThreshold
The number of consecutive health check failures required before moving
the instance to the Unhealthy
state.
Constraints:
Range: 2 - 10
Integer healthyThreshold
The number of consecutive health checks successes required before moving
the instance to the Healthy
state.
Constraints:
Range: 2 - 10
String instanceId
The instance ID.
String instanceId
The ID of the instance.
String state
The current state of the instance.
Valid values: InService
| OutOfService
|
Unknown
String reasonCode
Information about the cause of OutOfService
instances.
Specifically, whether the cause is Elastic Load Balancing or the
instance.
Valid values: ELB
| Instance
| N/A
String description
A description of the instance state. This string can contain one or more of the following messages.
N/A
A transient error occurred. Please try again later.
Instance has failed at least the UnhealthyThreshold number of health checks consecutively.
Instance has not passed the configured HealthyThreshold number of health checks consecutively.
Instance registration is still in progress.
Instance is in the EC2 Availability Zone for which LoadBalancer is not configured to route traffic to.
Instance is not currently registered with the LoadBalancer.
Instance deregistration currently in progress.
Disable Availability Zone is currently in progress.
Instance is in pending state.
Instance is in stopped state.
Instance is in terminated state.
String policyName
The name of the policy. This name must be unique within the set of policies for this load balancer.
Long cookieExpirationPeriod
The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
String protocol
The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
Integer loadBalancerPort
The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
String instanceProtocol
The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.
If the front-end protocol is HTTP, HTTPS, TCP, or SSL,
InstanceProtocol
must be at the same protocol.
If there is another listener with the same InstancePort
whose InstanceProtocol
is secure, (HTTPS or SSL), the
listener's InstanceProtocol
must also be secure.
If there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's
InstanceProtocol
must be HTTP or TCP.
Integer instancePort
The port on which the instance is listening.
Constraints:
Range: 1 - 65535
String sSLCertificateId
The Amazon Resource Name (ARN) of the server certificate.
CrossZoneLoadBalancing crossZoneLoadBalancing
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
AccessLog accessLog
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Classic Load Balancers Guide.
ConnectionDraining connectionDraining
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
ConnectionSettings connectionSettings
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
List<E> additionalAttributes
This parameter is reserved.
String loadBalancerName
The name of the load balancer.
String dNSName
The DNS name of the load balancer.
String canonicalHostedZoneName
The DNS name of the load balancer.
For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.
String canonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone for the load balancer.
List<E> listenerDescriptions
The listeners for the load balancer.
Policies policies
The policies defined for the load balancer.
List<E> backendServerDescriptions
Information about your EC2 instances.
List<E> availabilityZones
The Availability Zones for the load balancer.
List<E> subnets
The IDs of the subnets for the load balancer.
String vPCId
The ID of the VPC for the load balancer.
List<E> instances
The IDs of the instances for the load balancer.
HealthCheck healthCheck
Information about the health checks conducted on the load balancer.
SourceSecurityGroup sourceSecurityGroup
The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
List<E> securityGroups
The security groups for the load balancer. Valid only for load balancers in a VPC.
Date createdTime
The date and time the load balancer was created.
String scheme
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer
has a public DNS name that resolves to a public IP address.
If Scheme
is internal
, the load balancer has a
public DNS name that resolves to a private IP address.
String loadBalancerName
The name of the load balancer.
LoadBalancerAttributes loadBalancerAttributes
The attributes for the load balancer.
String loadBalancerName
The name of the load balancer.
LoadBalancerAttributes loadBalancerAttributes
Information about the load balancer attributes.
List<E> appCookieStickinessPolicies
The stickiness policies created using CreateAppCookieStickinessPolicy.
List<E> lBCookieStickinessPolicies
The stickiness policies created using CreateLBCookieStickinessPolicy.
List<E> otherPolicies
The policies other than the stickiness policies.
String attributeName
The name of the attribute.
String attributeType
The type of the attribute. For example, Boolean
or
Integer
.
String description
A description of the attribute.
String defaultValue
The default value of the attribute, if applicable.
String cardinality
The cardinality of the attribute.
Valid values:
ONE(1) : Single value required
ZERO_OR_ONE(0..1) : Up to one value is allowed
ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
String policyTypeName
The name of the policy type.
String description
A description of the policy type.
List<E> policyAttributeTypeDescriptions
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
String loadBalancerName
The name of the load balancer.
Integer loadBalancerPort
The external port of the load balancer.
List<E> policyNames
The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled.
String key
The name of the key.
Constraints:
Length: 1 - 128
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
Copyright © 2018. All rights reserved.