---
title: "POST /#Action=AttachTrafficSources"
method: POST
path: "/#Action=AttachTrafficSources"
---

# POST /#Action=AttachTrafficSources

`POST /#Action=AttachTrafficSources`

Attaches one or more traffic sources to the specified Auto Scaling group.

You can use any of the following as traffic sources for an Auto Scaling group:

*   Application Load Balancer
    
*   Classic Load Balancer
    
*   Gateway Load Balancer
    
*   Network Load Balancer
    
*   VPC Lattice
    

This operation is additive and does not detach existing traffic sources from the Auto Scaling group.

After the operation completes, use the DescribeTrafficSources API to return details about the state of the attachments between traffic sources and your Auto Scaling group. To detach a traffic source from the Auto Scaling group, call the DetachTrafficSources API.

## Query parameters

- `Action` 'AttachTrafficSources', required
- `Version` '2011-01-01', required

## Response `200`

Success

## Other responses

- `480` — ResourceContentionFault
- `481` — ServiceLinkedRoleFailure

---

[API](https://skmtc.net/aws/apis/autoscaling.md) · [All operations](https://skmtc.net/aws/apis/autoscaling/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/autoscaling/versions/5e07057bfecf/schema)
