{
  "info": {
    "_postman_id": "84a78d18-aeeb-4a41-a210-70cb3d1f72e0",
    "name": "Auto Scaling #Action=AttachInstances #Action=AttachInstances #Action=AttachTrafficSources API",
    "description": "<fullname>Amazon EC2 Auto Scaling</fullname> <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.</p> <p>For more information, see the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/\">Amazon EC2 Auto Scaling User Guide</a> and the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html\">Amazon EC2 Auto Scaling API Reference</a>.</p>\n\nContact Support:\n Name: Mike Ralphson\n Email: mike.ralphson@gmail.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T10:17:24.000Z",
    "updatedAt": "2026-07-28T10:17:24.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-84a78d18-aeeb-4a41-a210-70cb3d1f72e0"
  },
  "item": [
    {
      "name": "#Action=AttachTrafficSources",
      "item": [
        {
          "name": "Amazon EC2 Auto Scaling GET_ Attach Traffic Sources",
          "id": "1536ed75-b37f-4e9f-a14e-07170d1a8bc5",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "text/xml"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/?AutoScalingGroupName=<string>&TrafficSources=[object Object]&TrafficSources=[object Object]&Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "(Required) The name of the Auto Scaling group.",
                  "key": "AutoScalingGroupName",
                  "value": "<string>"
                },
                {
                  "description": "(Required) The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.",
                  "key": "TrafficSources",
                  "value": "[object Object]"
                },
                {
                  "description": "(Required) The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.",
                  "key": "TrafficSources",
                  "value": "[object Object]"
                },
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "AttachTrafficSources"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=AttachTrafficSources"
            },
            "description": "<p>Attaches one or more traffic sources to the specified Auto Scaling group.</p> <p>You can use any of the following as traffic sources for an Auto Scaling group:</p> <ul> <li> <p>Application Load Balancer</p> </li> <li> <p>Classic Load Balancer</p> </li> <li> <p>Gateway Load Balancer</p> </li> <li> <p>Network Load Balancer</p> </li> <li> <p>VPC Lattice</p> </li> </ul> <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling group. </p> <p>After the operation completes, use the <a>DescribeTrafficSources</a> 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 <a>DetachTrafficSources</a> API.</p>"
          },
          "response": [
            {
              "id": "4e94e449-a4df-4dc1-86ff-112156d7765a",
              "name": "Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?AutoScalingGroupName=<string>&TrafficSources=[object Object]&Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.",
                      "key": "TrafficSources",
                      "value": "[object Object]"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachTrafficSources"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachTrafficSources"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n</element>",
              "createdAt": "2026-07-28T10:17:24.000Z",
              "updatedAt": "2026-07-28T10:17:24.000Z",
              "uid": "35240-4e94e449-a4df-4dc1-86ff-112156d7765a"
            },
            {
              "id": "251db787-2e70-4171-afc0-cbd8a7472c11",
              "name": "ResourceContentionFault",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?AutoScalingGroupName=<string>&TrafficSources=[object Object]&Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.",
                      "key": "TrafficSources",
                      "value": "[object Object]"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachTrafficSources"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachTrafficSources"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:24.000Z",
              "updatedAt": "2026-07-28T10:17:24.000Z",
              "uid": "35240-251db787-2e70-4171-afc0-cbd8a7472c11"
            },
            {
              "id": "e9ef90ca-be1b-49cf-82bd-db57b25d44a5",
              "name": "ServiceLinkedRoleFailure",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?AutoScalingGroupName=<string>&TrafficSources=[object Object]&Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.",
                      "key": "TrafficSources",
                      "value": "[object Object]"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachTrafficSources"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachTrafficSources"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:24.000Z",
              "updatedAt": "2026-07-28T10:17:24.000Z",
              "uid": "35240-e9ef90ca-be1b-49cf-82bd-db57b25d44a5"
            }
          ],
          "createdAt": "2026-07-28T10:17:24.000Z",
          "updatedAt": "2026-07-28T10:17:24.000Z",
          "uid": "35240-1536ed75-b37f-4e9f-a14e-07170d1a8bc5"
        },
        {
          "name": "Amazon EC2 Auto Scaling POST_ Attach Traffic Sources",
          "id": "f6ae7dc8-e743-42cf-98bf-ac83222b4fef",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Amz-Content-Sha256",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Date",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Algorithm",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Credential",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Security-Token",
                "value": "<string>"
              },
              {
                "key": "X-Amz-Signature",
                "value": "<string>"
              },
              {
                "key": "X-Amz-SignedHeaders",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "text/xml"
              },
              {
                "key": "Accept",
                "value": "text/xml"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n</element>",
              "options": {
                "raw": {
                  "headerFamily": "xml",
                  "language": "xml"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/?Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "AttachTrafficSources"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=AttachTrafficSources"
            },
            "description": "<p>Attaches one or more traffic sources to the specified Auto Scaling group.</p> <p>You can use any of the following as traffic sources for an Auto Scaling group:</p> <ul> <li> <p>Application Load Balancer</p> </li> <li> <p>Classic Load Balancer</p> </li> <li> <p>Gateway Load Balancer</p> </li> <li> <p>Network Load Balancer</p> </li> <li> <p>VPC Lattice</p> </li> </ul> <p>This operation is additive and does not detach existing traffic sources from the Auto Scaling group. </p> <p>After the operation completes, use the <a>DescribeTrafficSources</a> 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 <a>DetachTrafficSources</a> API.</p>"
          },
          "response": [
            {
              "id": "20ebf81d-8191-42ce-8476-5c8ed50bdcb2",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachTrafficSources"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachTrafficSources"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n</element>",
              "createdAt": "2026-07-28T10:17:24.000Z",
              "updatedAt": "2026-07-28T10:17:24.000Z",
              "uid": "35240-20ebf81d-8191-42ce-8476-5c8ed50bdcb2"
            },
            {
              "id": "af8b7c45-1fa3-4e27-9a47-da42bbb507bc",
              "name": "ResourceContentionFault",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachTrafficSources"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachTrafficSources"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:24.000Z",
              "updatedAt": "2026-07-28T10:17:24.000Z",
              "uid": "35240-af8b7c45-1fa3-4e27-9a47-da42bbb507bc"
            },
            {
              "id": "198ceea3-687f-4e5c-a72b-8d0587c18f85",
              "name": "ServiceLinkedRoleFailure",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "X-Amz-Content-Sha256",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Date",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Algorithm",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Credential",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Security-Token",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-Signature",
                    "value": "<string>"
                  },
                  {
                    "key": "X-Amz-SignedHeaders",
                    "value": "<string>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "text/xml"
                  },
                  {
                    "key": "Accept",
                    "value": "text/xml"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<element>\n  <AutoScalingGroupName>(string)</AutoScalingGroupName>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n  <TrafficSources>\n    <Identifier>(string)</Identifier>\n    <Type>(string)</Type>\n  </TrafficSources>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=AttachTrafficSources&Version=2011-01-01#Action=AttachTrafficSources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "AttachTrafficSources"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=AttachTrafficSources"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:17:24.000Z",
              "updatedAt": "2026-07-28T10:17:24.000Z",
              "uid": "35240-198ceea3-687f-4e5c-a72b-8d0587c18f85"
            }
          ],
          "createdAt": "2026-07-28T10:17:24.000Z",
          "updatedAt": "2026-07-28T10:17:24.000Z",
          "uid": "35240-f6ae7dc8-e743-42cf-98bf-ac83222b4fef"
        }
      ],
      "id": "54b87ffc-0639-43f2-b157-4061c58b712b",
      "createdAt": "2026-07-28T10:17:24.000Z",
      "updatedAt": "2026-07-28T10:17:24.000Z",
      "uid": "35240-54b87ffc-0639-43f2-b157-4061c58b712b"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "us-east-1"
    },
    {
      "key": "baseUrl",
      "value": "http://autoscaling.{{region}}.amazonaws.com"
    }
  ]
}