Amazon EC2 Auto Scaling · Arazzo Workflow

Amazon EC2 Auto Scaling Decommission Group and Launch Configuration

Version 1.0.0

Force-delete an Auto Scaling group, confirm it is gone, and delete its launch configuration.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Amazon Web ServicesAuto-ScalingComputeEC2High AvailabilityScalingArazzoWorkflows

Provider

amazon-ec2-auto-scaling

Workflows

decommission-group-and-launch-configuration
Delete an Auto Scaling group, verify removal, and delete its launch configuration.
Force-deletes the group, confirms it is gone, then deletes the associated launch configuration.
3 steps inputs: autoScalingGroupName, forceDelete, launchConfigurationName outputs: deleteLaunchConfigStatus, deleteStatus
1
deleteAutoScalingGroup
Delete the Auto Scaling group, optionally forcing termination of all its instances.
2
confirmGroupDeleted
Describe groups filtered by name and branch on whether the deleted group is fully gone before removing the launch configuration.
3
deleteLaunchConfiguration
Delete the launch configuration that backed the now-removed Auto Scaling group.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EC2 Auto Scaling Decommission Group and Launch Configuration
  summary: Force-delete an Auto Scaling group, confirm it is gone, and delete its launch configuration.
  description: >-
    Tears down an Auto Scaling group and its supporting launch configuration.
    The workflow force-deletes the group (terminating its instances), describes
    groups to confirm the group no longer appears and branches accordingly, and
    then deletes the launch configuration that backed the group. Every step
    spells out the AWS query-protocol Action and Version inline so the flow can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4220.50
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4220.50
      capability_name: Capacity & Performance Management
      spec: amazon-ec2-auto-scaling-action-describeautoscalinggroups-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: actionDeleteautoscalinggroupApi
  url: ../openapi/amazon-ec2-auto-scaling-action-deleteautoscalinggroup-api-openapi.yml
  type: openapi
- name: actionDeletelaunchconfigurationApi
  url: ../openapi/amazon-ec2-auto-scaling-action-deletelaunchconfiguration-api-openapi.yml
  type: openapi
- name: actionDescribeautoscalinggroupsApi
  url: ../openapi/amazon-ec2-auto-scaling-action-describeautoscalinggroups-api-openapi.yml
  type: openapi
workflows:
- workflowId: decommission-group-and-launch-configuration
  summary: Delete an Auto Scaling group, verify removal, and delete its launch configuration.
  description: >-
    Force-deletes the group, confirms it is gone, then deletes the associated
    launch configuration.
  inputs:
    type: object
    required:
    - autoScalingGroupName
    - launchConfigurationName
    properties:
      autoScalingGroupName:
        type: string
        description: The name of the Auto Scaling group to delete.
      launchConfigurationName:
        type: string
        description: The name of the launch configuration to delete after the group is gone.
      forceDelete:
        type: boolean
        description: Whether to delete the group along with all its instances without waiting for termination.
  steps:
  - stepId: deleteAutoScalingGroup
    description: >-
      Delete the Auto Scaling group, optionally forcing termination of all its
      instances.
    operationId: POST_DeleteAutoScalingGroup
    parameters:
    - name: Action
      in: query
      value: DeleteAutoScalingGroup
    - name: Version
      in: query
      value: 2011-01-01
    requestBody:
      contentType: text/xml
      payload:
        AutoScalingGroupName: $inputs.autoScalingGroupName
        ForceDelete: $inputs.forceDelete
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deleteStatus: $statusCode
  - stepId: confirmGroupDeleted
    description: >-
      Describe groups filtered by name and branch on whether the deleted group
      is fully gone before removing the launch configuration.
    operationId: POST_DescribeAutoScalingGroups
    parameters:
    - name: Action
      in: query
      value: DescribeAutoScalingGroups
    - name: Version
      in: query
      value: 2011-01-01
    requestBody:
      contentType: text/xml
      payload:
        AutoScalingGroupNames:
        - $inputs.autoScalingGroupName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      remainingGroupCount: $response.body#/AutoScalingGroups
    onSuccess:
    - name: groupGone
      type: goto
      stepId: deleteLaunchConfiguration
      criteria:
      - context: $response.body
        condition: $.AutoScalingGroups.length == 0
        type: jsonpath
    - name: groupStillDeleting
      type: goto
      stepId: deleteLaunchConfiguration
      criteria:
      - context: $response.body
        condition: $.AutoScalingGroups.length > 0
        type: jsonpath
  - stepId: deleteLaunchConfiguration
    description: >-
      Delete the launch configuration that backed the now-removed Auto Scaling
      group.
    operationId: POST_DeleteLaunchConfiguration
    parameters:
    - name: Action
      in: query
      value: DeleteLaunchConfiguration
    - name: Version
      in: query
      value: 2011-01-01
    requestBody:
      contentType: text/xml
      payload:
        LaunchConfigurationName: $inputs.launchConfigurationName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deleteLaunchConfigStatus: $statusCode
  outputs:
    deleteStatus: $steps.deleteAutoScalingGroup.outputs.deleteStatus
    deleteLaunchConfigStatus: $steps.deleteLaunchConfiguration.outputs.deleteLaunchConfigStatus

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-ec2-auto-scaling-decommission-group-and-launch-configuration-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.