Interface to AWS ELB wrappers (Elastic Load Balancing)

Source:

Members

(inner) target

Source:
To Do:
  • constant these defaults

Methods

(inner) bindAws(aws) → {Object}

Parameters:
Name Type Description
aws AwsWrapper
Source:
Returns:

this API bound to

Type
Object

(inner) configureHealthCheck(aws, loadBalancerId, healthyThreshopt, unhealthyThreshopt, targetopt, timeoutopt, intervalopt) → {function}

Parameters:
Name Type Attributes Description
aws AwsWrapper
loadBalancerId string
healthyThresh number <optional>
unhealthyThresh number <optional>
target string <optional>
timeout number <optional>
interval number <optional>
Source:
Returns:
Type
function

(inner) create(aws, listenersopt, subnets, securityGroups, loadBalancerId, tagsopt) → {function}

Parameters:
Name Type Attributes Description
aws AwsWrapper
listeners Array.<ElbPortListener> <optional>
subnets Array.<string>
securityGroups Array.<string>
loadBalancerId string
tags Array.<ElbTag> <optional>
Source:
Returns:
Type
function

(inner) createDeployment(aws, projectId, deployment, subnet, securityGroup, certId, useInternalSSLopt) → {function}

Parameters:
Name Type Attributes Description
aws AwsWrapper
projectId string
deployment string
subnet string
securityGroup string
certId string
useInternalSSL boolean <optional>

defaults to false

Source:
Returns:
Type
function

(inner) createPr(aws, projectId, pr, subnet, securityGroup, certId, useInternalSSLopt) → {function}

Parameters:
Name Type Attributes Description
aws AwsWrapper
projectId string
pr string
subnet string
securityGroup string
certId string
useInternalSSL boolean <optional>

defaults to false

Source:
Returns:
Type
function

(inner) defaultListeners(certId, useInternalSSLopt) → {Array}

Parameters:
Name Type Attributes Description
certId string
useInternalSSL boolean <optional>
Source:
Returns:
Type
Array

(inner) deRegisterInstances(aws, loadBalancerId, instances) → {function}

Parameters:
Name Type Description
aws AwsWrapper
loadBalancerId string
instances Array.<string>
Source:
Throws:
TypeError
Returns:
Type
function

(inner) describeAll(aws) → {function}

Parameters:
Name Type Description
aws AwsWrapper
Source:
Returns:
Type
function

(inner) describeById(aws, id) → {function}

Parameters:
Name Type Description
aws AwsWrapper
id string
Source:
Returns:
Type
function

(inner) describeDeployment(aws, projectId, deployment) → {function}

Parameters:
Name Type Description
aws AwsWrapper
projectId string
deployment string
Source:
Throws:
TypeError
Returns:
Type
function

(inner) describePr(aws, projectId, pr) → {function}

Parameters:
Name Type Description
aws AwsWrapper
projectId string
pr string
Source:
Throws:
TypeError
Returns:
Type
function

(inner) destroy(aws, loadBalancerId) → {function}

Parameters:
Name Type Description
aws AwsWrapper
loadBalancerId string
Source:
Throws:
TypeError
Returns:
Type
function

(inner) destroyDeployment(aws, projectId, deployment) → {function}

Parameters:
Name Type Description
aws AwsWrapper
projectId string
deployment string
Source:
Throws:
TypeError
Returns:
Type
function

(inner) destroyPr(aws, projectId, pr) → {function}

Parameters:
Name Type Description
aws AwsWrapper
projectId string
pr string
Source:
Throws:
TypeError
Returns:
Type
function

(inner) elbDeploymentId(projectId, deployment) → {string}

ELB ids have to be < 32 characters, so our resourceIds are no good

Parameters:
Name Type Description
projectId string
deployment string
Source:
Returns:
Type
string

(inner) elbPrId(projectId, pr) → {string}

ELB ids have to be < 32 characters, so our resourceIds are no good

Parameters:
Name Type Description
projectId string
pr string
Source:
Returns:
Type
string

(inner) mapInstances(instances) → {Array.<{InstanceId: string}>}

Parameters:
Name Type Description
instances string | Array.<string>
Source:
Throws:
TypeError
Returns:
Type
Array.<{InstanceId: string}>

(inner) registerInstances(aws, loadBalancerId, instances) → {function}

Parameters:
Name Type Description
aws AwsWrapper
loadBalancerId string
instances Array.<string>
Source:
Throws:
TypeError
Returns:
Type
function