1. Support
  2. Integrations
  3. Elastic Load Balancing
AWS 25 nodes

Elastic Load Balancing

AWS integration · 25 node(s).

00Overview

Build and operate AWS load balancers straight from a flow — create Application, Network or Gateway load balancers, add listeners and routing rules, and manage the target groups behind them. Register or deregister targets, check target health, and adjust subnets, security groups, attributes and tags as your infrastructure changes. Describe actions let a flow read the current state of your load balancers, listeners, rules and targets so it can react automatically.

Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.

01Connecting Elastic Load Balancing

  1. In AWS, open the IAM console (console.aws.amazon.com/iam) and create — or reuse — an IAM identity that holds elasticloadbalancing permissions, plus the EC2 read access ELB relies on to resolve subnets and security groups.
  2. In the node, choose an Authentication method and fill the fields it reveals: Access Keys uses an IAM user's AWS Access Key and AWS Secret Key (add a Session Token (optional) only for temporary STS credentials); Assume Role (cross-account) takes a Role ARN to Assume and an optional Assume Role External ID (optional), so Flomation's own identity assumes a role you grant it; Managed Role (Credential) uses a stored AWS Role Credential your workspace already holds.
  3. For the Access Keys method, open your IAM user's Security credentials tab, choose Create access key, and copy the Access key ID and Secret access key — the secret is shown only once.
  4. For the Assume Role method, edit the target role's trust policy so it allows Flomation's principal to call sts:AssumeRole, and set the same External ID on both sides if you use one.
  5. Set Region to the AWS region your load balancers live in (for example eu-west-2) — Elastic Load Balancing is regional, so this must match your resources.
  6. In Flomation, store the secret as an environment secret (e.g. elbv2_secret) and pick it in the node's AWS Secret Key field rather than pasting it in as plain text.
FieldTypeDetails
AuthenticationstringRequiredAccess Keys, Assume Role (cross-account), Managed Role (Credential)
AWS Access KeysecretRequired
AWS Secret KeysecretRequired
Session Token (optional)secret
AWS Role CredentialcredentialRequired
Good to know

Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Add

AWS ELBv2 Add Tags

aws/elbv2/add_tags · Action

Add tags to Elastic Load Balancing v2 resources (LBs, listeners, rules).

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Resource ARNsstringRequiredComma-separated ELBv2 ARNs
Tagskey_value_arrayRequired

Returns: tool_result

03Create

AWS ELBv2 Create Listener

aws/elbv2/create_listener · Action

Create a listener on an Elastic Load Balancing v2 load balancer.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNstringRequiredarn:aws:elasticloadbalancing:...:loadbalancer/app/my-lb/...
ProtocolstringRequiredchoices: HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
PortintegerRequired443
Default Target Group ARNstringForwards to this target group (simple case)
Certificate ARN (HTTPS/TLS)stringOptional
SSL Policy (HTTPS/TLS)stringOptional, e.g. ELBSecurityPolicy-2016-08
Default Actions (JSON override)stringOptional JSON array of ELBv2 actions

Returns: tool_result, listener_arn

AWS Create Load Balancer

aws/elbv2/create_load_balancer · Action

Create an Elastic Load Balancing v2 load balancer (application, network or gateway).

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer NamestringRequiredmy-load-balancer
Subnet IDsstringComma-separated subnet IDs (required for ALB)
Security Group IDsstringComma-separated (optional)
Schemestringchoices: Internet-facing, Internal
Typestringchoices: Application, Network, Gateway
IP Address Type (optional)stringchoices: IPv4, Dualstack
Tagskey_value_arrayOptional tags for the load balancer

Returns: tool_result, load_balancer_arn, dns_name, load_balancer_name, state

AWS ELBv2 Create Rule

aws/elbv2/create_rule · Action

Create a listener rule. Conditions and actions are JSON arrays.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Listener ARNstringRequiredarn:aws:elasticloadbalancing:...:listener/...
PriorityintegerRequired1
Conditions (JSON array)stringRequired[{"Field":"path-pattern","PathPatternConfig":{"Values":["/api/*"]}}]
Actions (JSON array)stringRequired[{"Type":"forward","TargetGroupArn":"arn:..."}]

Returns: tool_result, rule_arn

AWS Create Target Group

aws/elbv2/create_target_group · Action

Create an Elastic Load Balancing target group.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group NamestringRequiredmy-targets
Protocolstringchoices: HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
Portinteger80
VPC IDstringvpc-0abc123
Target Typestringchoices: Instance, IP, Lambda, ALB
Health Check ProtocolstringHTTP
Health Check Pathstring/health
Health Check Portstringtraffic-port
Health Check Interval (seconds)integer30
Healthy Threshold Countinteger5
Unhealthy Threshold Countinteger2

Returns: tool_result, target_group_arn, target_group_name

04Delete

AWS ELBv2 Delete Listener

aws/elbv2/delete_listener · Action

Delete a listener from an Elastic Load Balancing v2 load balancer.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Listener ARNstringRequiredarn:aws:elasticloadbalancing:...:listener/...

Returns: tool_result, listener_arn

AWS Delete Load Balancer

aws/elbv2/delete_load_balancer · Action

Delete an Elastic Load Balancing v2 load balancer by ARN.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNstringRequiredarn:aws:elasticloadbalancing:...

Returns: tool_result, load_balancer_arn

AWS ELBv2 Delete Rule

aws/elbv2/delete_rule · Action

Delete a listener rule from an Elastic Load Balancing v2 listener.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Rule ARNstringRequiredarn:aws:elasticloadbalancing:...:listener-rule/...

Returns: tool_result, rule_arn

AWS Delete Target Group

aws/elbv2/delete_target_group · Action

Delete an Elastic Load Balancing target group.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group ARNstringRequiredarn:aws:elasticloadbalancing:...:targetgroup/...

Returns: tool_result, target_group_arn

05Deregister

AWS Deregister Targets

aws/elbv2/deregister_targets · Action

Deregister targets from an Elastic Load Balancing target group.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group ARNstringRequiredarn:aws:elasticloadbalancing:...:targetgroup/...
TargetsstringRequired[{"id":"i-0abc123","port":80}] or i-0abc123,i-0def456

Returns: tool_result, target_count

06Describe

AWS ELBv2 Describe Listeners

aws/elbv2/describe_listeners · Action

List listeners for a load balancer or by ARN, with protocol and port.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNstringOptional — list all listeners on this load balancer
Listener ARNsstringOptional, comma-separated

Returns: tool_result, listeners, count

AWS Describe Load Balancer Attributes

aws/elbv2/describe_load_balancer_attributes · Action

Read the attributes (key/value settings) of a load balancer.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNstringRequiredarn:aws:elasticloadbalancing:...

Returns: tool_result, attributes

AWS Describe Load Balancers

aws/elbv2/describe_load_balancers · Action

List Elastic Load Balancing v2 load balancers with their scheme, type, state and VPC.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNsstringComma-separated; leave blank for all (optional)
Load Balancer NamesstringComma-separated; leave blank for all (optional)

Returns: tool_result, load_balancers, count

AWS ELBv2 Describe Rules

aws/elbv2/describe_rules · Action

List listener rules by listener ARN or rule ARNs, with priority.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Listener ARNstringOptional — list all rules on this listener
Rule ARNsstringOptional, comma-separated

Returns: tool_result, rules, count

AWS Describe Target Groups

aws/elbv2/describe_target_groups · Action

List Elastic Load Balancing target groups.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group ARNs (comma-separated)stringarn:...,arn:...
Names (comma-separated)stringmy-targets
Load Balancer ARNstringarn:aws:elasticloadbalancing:...

Returns: tool_result, target_groups, count

AWS Describe Target Health

aws/elbv2/describe_target_health · Action

Report the health of targets in an Elastic Load Balancing target group.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group ARNstringRequiredarn:aws:elasticloadbalancing:...:targetgroup/...

Returns: tool_result, targets, count, healthy_count

07Modify

AWS ELBv2 Modify Listener

aws/elbv2/modify_listener · Action

Change the protocol, port, SSL policy or default action of a listener.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Listener ARNstringRequiredarn:aws:elasticloadbalancing:...:listener/...
Protocolstringchoices: HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
PortintegerOptional
Default Target Group ARNstringOptional — forward to this target group
SSL PolicystringOptional
Certificate ARNstringOptional
Default Actions (JSON override)stringOptional JSON array of ELBv2 actions

Returns: tool_result, listener_arn

AWS Modify Load Balancer Attributes

aws/elbv2/modify_load_balancer_attributes · Action

Update the attributes of a load balancer from a JSON array of key/value pairs.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNstringRequiredarn:aws:elasticloadbalancing:...
Attributes (JSON)stringRequired[{"Key":"deletion_protection.enabled","Value":"true"}]

Returns: tool_result, attributes

AWS ELBv2 Modify Rule

aws/elbv2/modify_rule · Action

Change a listener rule's conditions or actions. Both are JSON arrays.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Rule ARNstringRequiredarn:aws:elasticloadbalancing:...:listener-rule/...
Conditions (JSON array)stringOptional [{"Field":"path-pattern",...}]
Actions (JSON array)stringOptional [{"Type":"forward","TargetGroupArn":"arn:..."}]

Returns: tool_result, rule_arn

AWS Modify Target Group

aws/elbv2/modify_target_group · Action

Modify an Elastic Load Balancing target group's health checks.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group ARNstringRequiredarn:aws:elasticloadbalancing:...:targetgroup/...
Health Check ProtocolstringHTTP
Health Check Pathstring/health
Health Check Portstringtraffic-port
Health Check Interval (seconds)integer30
Healthy Threshold Countinteger5
Unhealthy Threshold Countinteger2

Returns: tool_result, target_group_arn

AWS Modify Target Group Attributes

aws/elbv2/modify_target_group_attributes · Action

Set attributes on an Elastic Load Balancing target group.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group ARNstringRequiredarn:aws:elasticloadbalancing:...:targetgroup/...
AttributesstringRequired[{"Key":"deregistration_delay.timeout_seconds","Value":"30"}]

Returns: tool_result, target_group_arn

08Register

AWS Register Targets

aws/elbv2/register_targets · Action

Register targets with an Elastic Load Balancing target group.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Target Group ARNstringRequiredarn:aws:elasticloadbalancing:...:targetgroup/...
TargetsstringRequired[{"id":"i-0abc123","port":80}] or i-0abc123,i-0def456

Returns: tool_result, target_count

09Remove

AWS ELBv2 Remove Tags

aws/elbv2/remove_tags · Action

Remove tags from Elastic Load Balancing v2 resources by key.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Resource ARNsstringRequiredComma-separated ELBv2 ARNs
Tag KeysstringRequiredComma-separated tag keys to remove

Returns: tool_result

10Set

AWS Set Load Balancer Security Groups

aws/elbv2/set_security_groups · Action

Set the security groups associated with a load balancer.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNstringRequiredarn:aws:elasticloadbalancing:...
Security Group IDsstringRequiredComma-separated security group IDs

Returns: tool_result, security_group_ids

AWS Set Load Balancer Subnets

aws/elbv2/set_subnets · Action

Set the subnets (Availability Zones) enabled for a load balancer.

FieldTypeDetails
RegionstringRequiredeu-west-2
Role ARN to AssumestringRequiredarn:aws:iam::<your-account>:role/FlomationAccess
Assume Role External ID (optional)stringMust match the External ID in the role's trust policy
Load Balancer ARNstringRequiredarn:aws:elasticloadbalancing:...
Subnet IDsstringRequiredComma-separated subnet IDs

Returns: tool_result, availability_zones

11Notes & Limitations

Behaviours and constraints worth knowing before you build with these nodes.

  • Elastic Load Balancing is a regional service, so the Region you set must match the region your load balancers live in, or resources in other regions will be neither listed nor found.
  • Newly created load balancers start in a provisioning state and take a few minutes before they are ready to serve traffic.
  • A load balancer with deletion protection enabled cannot be deleted until that attribute is switched off first.
  • Assume Role authentication uses Flomation's own identity as the base caller, so the target role's trust policy must grant that principal permission to assume it, and any External ID you enter must match the one set in that trust policy.
  • Rule conditions and actions must be supplied as raw JSON arrays in the exact Elastic Load Balancing format shown in each field's example.
  • A target group cannot be deleted while it is still referenced by a listener or rule, so remove those references first.