{
  "info": {
    "_postman_id": "d7644034-7796-4883-b2ce-51a5280f191d",
    "name": "Auto Scaling #Action=AttachInstances #Action=AttachInstances #Action=SetDesiredCapacity 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:20:04.000Z",
    "updatedAt": "2026-07-28T10:20:04.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-d7644034-7796-4883-b2ce-51a5280f191d"
  },
  "item": [
    {
      "name": "#Action=SetDesiredCapacity",
      "item": [
        {
          "name": "Amazon EC2 Auto Scaling GET_ Set Desired Capacity",
          "id": "c5e0dd07-0702-4e10-b362-15fbddf87a9e",
          "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>&DesiredCapacity=<integer>&HonorCooldown=<boolean>&Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "(Required) The name of the Auto Scaling group.",
                  "key": "AutoScalingGroupName",
                  "value": "<string>"
                },
                {
                  "description": "(Required) The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.",
                  "key": "DesiredCapacity",
                  "value": "<integer>"
                },
                {
                  "description": "Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.",
                  "key": "HonorCooldown",
                  "value": "<boolean>"
                },
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "SetDesiredCapacity"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=SetDesiredCapacity"
            },
            "description": "<p>Sets the size of the specified Auto Scaling group.</p> <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate. </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html\">Manual scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
          },
          "response": [
            {
              "id": "56c88ea4-4360-4ef6-8e58-720f8dfa12c6",
              "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>"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Authorization",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/?AutoScalingGroupName=<string>&DesiredCapacity=<integer>&HonorCooldown=<boolean>&Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.",
                      "key": "DesiredCapacity",
                      "value": "<integer>"
                    },
                    {
                      "description": "Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.",
                      "key": "HonorCooldown",
                      "value": "<boolean>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetDesiredCapacity"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetDesiredCapacity"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T10:20:05.000Z",
              "updatedAt": "2026-07-28T10:20:05.000Z",
              "uid": "35240-56c88ea4-4360-4ef6-8e58-720f8dfa12c6"
            },
            {
              "id": "6a001c7c-bf99-47f6-9606-8053a63b2373",
              "name": "ScalingActivityInProgressFault",
              "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>&DesiredCapacity=<integer>&HonorCooldown=<boolean>&Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.",
                      "key": "DesiredCapacity",
                      "value": "<integer>"
                    },
                    {
                      "description": "Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.",
                      "key": "HonorCooldown",
                      "value": "<boolean>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetDesiredCapacity"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetDesiredCapacity"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:20:05.000Z",
              "updatedAt": "2026-07-28T10:20:05.000Z",
              "uid": "35240-6a001c7c-bf99-47f6-9606-8053a63b2373"
            },
            {
              "id": "f74e1f75-fce7-4666-a6c0-746efd890645",
              "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>&DesiredCapacity=<integer>&HonorCooldown=<boolean>&Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) The name of the Auto Scaling group.",
                      "key": "AutoScalingGroupName",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.",
                      "key": "DesiredCapacity",
                      "value": "<integer>"
                    },
                    {
                      "description": "Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.",
                      "key": "HonorCooldown",
                      "value": "<boolean>"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetDesiredCapacity"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetDesiredCapacity"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:20:05.000Z",
              "updatedAt": "2026-07-28T10:20:05.000Z",
              "uid": "35240-f74e1f75-fce7-4666-a6c0-746efd890645"
            }
          ],
          "createdAt": "2026-07-28T10:20:05.000Z",
          "updatedAt": "2026-07-28T10:20:05.000Z",
          "uid": "35240-c5e0dd07-0702-4e10-b362-15fbddf87a9e"
        },
        {
          "name": "Amazon EC2 Auto Scaling POST_ Set Desired Capacity",
          "id": "6a9d6565-0543-458f-89f6-1e19055525ae",
          "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  <DesiredCapacity>(integer)</DesiredCapacity>\n  <HonorCooldown>(boolean)</HonorCooldown>\n</element>",
              "options": {
                "raw": {
                  "headerFamily": "xml",
                  "language": "xml"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/?Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                ""
              ],
              "query": [
                {
                  "description": "(Required) ",
                  "key": "Action",
                  "value": "SetDesiredCapacity"
                },
                {
                  "description": "(Required) ",
                  "key": "Version",
                  "value": "2011-01-01"
                }
              ],
              "hash": "Action=SetDesiredCapacity"
            },
            "description": "<p>Sets the size of the specified Auto Scaling group.</p> <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate. </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html\">Manual scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
          },
          "response": [
            {
              "id": "5d673a90-5f9b-44d4-ab4a-c458eee8d206",
              "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"
                  },
                  {
                    "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  <DesiredCapacity>(integer)</DesiredCapacity>\n  <HonorCooldown>(boolean)</HonorCooldown>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetDesiredCapacity"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetDesiredCapacity"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T10:20:05.000Z",
              "updatedAt": "2026-07-28T10:20:05.000Z",
              "uid": "35240-5d673a90-5f9b-44d4-ab4a-c458eee8d206"
            },
            {
              "id": "f1f1f069-71b2-46cc-b407-e83ed2330385",
              "name": "ScalingActivityInProgressFault",
              "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  <DesiredCapacity>(integer)</DesiredCapacity>\n  <HonorCooldown>(boolean)</HonorCooldown>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetDesiredCapacity"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetDesiredCapacity"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:20:05.000Z",
              "updatedAt": "2026-07-28T10:20:05.000Z",
              "uid": "35240-f1f1f069-71b2-46cc-b407-e83ed2330385"
            },
            {
              "id": "dc1c2c51-e5e8-4de1-a574-fb691f031f46",
              "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  <DesiredCapacity>(integer)</DesiredCapacity>\n  <HonorCooldown>(boolean)</HonorCooldown>\n</element>",
                  "options": {
                    "raw": {
                      "headerFamily": "xml",
                      "language": "xml"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/?Action=SetDesiredCapacity&Version=2011-01-01#Action=SetDesiredCapacity",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ""
                  ],
                  "query": [
                    {
                      "description": "(Required) ",
                      "key": "Action",
                      "value": "SetDesiredCapacity"
                    },
                    {
                      "description": "(Required) ",
                      "key": "Version",
                      "value": "2011-01-01"
                    }
                  ],
                  "hash": "Action=SetDesiredCapacity"
                }
              },
              "_postman_previewlanguage": "xml",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/xml"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "",
              "createdAt": "2026-07-28T10:20:05.000Z",
              "updatedAt": "2026-07-28T10:20:05.000Z",
              "uid": "35240-dc1c2c51-e5e8-4de1-a574-fb691f031f46"
            }
          ],
          "createdAt": "2026-07-28T10:20:05.000Z",
          "updatedAt": "2026-07-28T10:20:05.000Z",
          "uid": "35240-6a9d6565-0543-458f-89f6-1e19055525ae"
        }
      ],
      "id": "722b2b90-5207-41e4-aeff-83bd5afa216a",
      "createdAt": "2026-07-28T10:20:05.000Z",
      "updatedAt": "2026-07-28T10:20:05.000Z",
      "uid": "35240-722b2b90-5207-41e4-aeff-83bd5afa216a"
    }
  ],
  "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"
    }
  ]
}