AWS CloudFormation Stack Instances API

Operations for managing stack instances within a stack set.

Operations 4

POST /?Action=CreateStackInstances Create Stack Instances in Accounts and Regions #
POST /?Action=DescribeStackInstance Describe a Stack Instance #
POST /?Action=ListStackInstances List Stack Instances in a Stack Set #
POST /?Action=DeleteStackInstances Delete Stack Instances From a Stack Set #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/cloudformation-stack-instances-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

cloudformation-stack-instances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AWS CloudFormation Stack Instances API
  description: AWS CloudFormation gives you an easy way to model a collection of related AWS and third-party resources, provision them quickly and consistently, and manage them throughout their lifecycles. It uses templates to define stacks of resources and provides API operations for creating, updating, and deleting stacks. The API uses a query-style interface where all operations are submitted as POST requests with an Action parameter.
  version: '2010-05-15'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  x-logo:
    url: https://aws.amazon.com/cloudformation/logo.png
servers:
- url: https://cloudformation.{region}.amazonaws.com
  description: AWS CloudFormation Regional Endpoint
  variables:
    region:
      default: us-east-1
      description: AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - eu-west-1
      - eu-west-2
      - eu-central-1
      - ap-southeast-1
      - ap-southeast-2
      - ap-northeast-1
security:
- AWS_Signature_V4: []
tags:
- name: Stack Instances
  description: Operations for managing stack instances within a stack set.
paths:
  /?Action=CreateStackInstances:
    post:
      operationId: createStackInstances
      summary: Create Stack Instances in Accounts and Regions
      description: Creates stack instances for the specified accounts in the specified regions. A stack instance refers to a stack in a specific account and region.
      tags:
      - Stack Instances
      parameters:
      - $ref: '#/components/parameters/VersionParam'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - StackSetName
              - Regions
              properties:
                StackSetName:
                  type: string
                Accounts:
                  type: array
                  items:
                    type: string
                Regions:
                  type: array
                  items:
                    type: string
                ParameterOverrides:
                  type: array
                  items:
                    $ref: '#/components/schemas/Parameter'
                OperationPreferences:
                  $ref: '#/components/schemas/StackSetOperationPreferences'
                OperationId:
                  type: string
                  maxLength: 128
                CallAs:
                  type: string
                  enum:
                  - SELF
                  - DELEGATED_ADMIN
            examples:
              CreatestackinstancesRequestExample:
                summary: Default createStackInstances request
                x-microcks-default: true
                value:
                  StackSetName: example_value
                  Accounts:
                  - example_value
                  Regions:
                  - example_value
                  ParameterOverrides:
                  - ParameterKey: example_value
                    ParameterValue: example_value
                    UsePreviousValue: true
                    ResolvedValue: example_value
                  OperationPreferences:
                    RegionConcurrencyType: SEQUENTIAL
                    RegionOrder:
                    - example_value
                    FailureToleranceCount: 10
                    FailureTolerancePercentage: 10
                    MaxConcurrentCount: 10
                    MaxConcurrentPercentage: 10
                  OperationId: '500123'
                  CallAs: SELF
      responses:
        '200':
          description: Stack instances creation initiated.
          content:
            application/xml:
              schema:
                type: object
                properties:
                  CreateStackInstancesResult:
                    type: object
                    properties:
                      OperationId:
                        type: string
              examples:
                Createstackinstances200Example:
                  summary: Default createStackInstances 200 response
                  x-microcks-default: true
                  value:
                    CreateStackInstancesResult:
                      OperationId: '500123'
        '400':
          $ref: '#/components/responses/ValidationError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalError'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /?Action=DescribeStackInstance:
    post:
      operationId: describeStackInstance
      summary: Describe a Stack Instance
      description: Returns the stack instance associated with the specified stack set, account, and region.
      tags:
      - Stack Instances
      parameters:
      - $ref: '#/components/parameters/VersionParam'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - StackSetName
              - StackInstanceAccount
              - StackInstanceRegion
              properties:
                StackSetName:
                  type: string
                StackInstanceAccount:
                  type: string
                StackInstanceRegion:
                  type: string
                CallAs:
                  type: string
                  enum:
                  - SELF
                  - DELEGATED_ADMIN
            examples:
              DescribestackinstanceRequestExample:
                summary: Default describeStackInstance request
                x-microcks-default: true
                value:
                  StackSetName: example_value
                  StackInstanceAccount: example_value
                  StackInstanceRegion: example_value
                  CallAs: SELF
      responses:
        '200':
          description: Stack instance details returned.
          content:
            application/xml:
              schema:
                type: object
                properties:
                  DescribeStackInstanceResult:
                    type: object
                    properties:
                      StackInstance:
                        $ref: '#/components/schemas/StackInstance'
              examples:
                Describestackinstance200Example:
                  summary: Default describeStackInstance 200 response
                  x-microcks-default: true
                  value:
                    DescribeStackInstanceResult:
                      StackInstance:
                        StackSetId: '500123'
                        Region: example_value
                        Account: example_value
                        StackId: '500123'
                        ParameterOverrides:
                        - {}
                        Status: CURRENT
                        StackInstanceStatus:
                          DetailedStatus: PENDING
                        StatusReason: example_value
                        DriftStatus: DRIFTED
                        LastDriftCheckTimestamp: '2026-01-15T10:30:00Z'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalError'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /?Action=ListStackInstances:
    post:
      operationId: listStackInstances
      summary: List Stack Instances in a Stack Set
      description: Returns summary information about stack instances associated with the specified stack set.
      tags:
      - Stack Instances
      parameters:
      - $ref: '#/components/parameters/VersionParam'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - StackSetName
              properties:
                StackSetName:
                  type: string
                NextToken:
                  type: string
                  maxLength: 1024
                MaxResults:
                  type: integer
                  minimum: 1
                  maximum: 100
                StackInstanceAccount:
                  type: string
                StackInstanceRegion:
                  type: string
                CallAs:
                  type: string
                  enum:
                  - SELF
                  - DELEGATED_ADMIN
            examples:
              ListstackinstancesRequestExample:
                summary: Default listStackInstances request
                x-microcks-default: true
                value:
                  StackSetName: example_value
                  NextToken: example_value
                  MaxResults: 10
                  StackInstanceAccount: example_value
                  StackInstanceRegion: example_value
                  CallAs: SELF
      responses:
        '200':
          description: Stack instance summaries returned.
          content:
            application/xml:
              schema:
                type: object
                properties:
                  ListStackInstancesResult:
                    type: object
                    properties:
                      Summaries:
                        type: array
                        items:
                          $ref: '#/components/schemas/StackInstanceSummary'
                      NextToken:
                        type: string
              examples:
                Liststackinstances200Example:
                  summary: Default listStackInstances 200 response
                  x-microcks-default: true
                  value:
                    ListStackInstancesResult:
                      Summaries:
                      - StackSetId: '500123'
                        Region: example_value
                        Account: example_value
                        StackId: '500123'
                        Status: CURRENT
                        StatusReason: example_value
                        DriftStatus: DRIFTED
                        LastDriftCheckTimestamp: '2026-01-15T10:30:00Z'
                      NextToken: example_value
        '400':
          $ref: '#/components/responses/ValidationError'
        '500':
          $ref: '#/components/responses/InternalError'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /?Action=DeleteStackInstances:
    post:
      operationId: deleteStackInstances
      summary: Delete Stack Instances From a Stack Set
      description: Deletes stack instances for the specified accounts in the specified regions.
      tags:
      - Stack Instances
      parameters:
      - $ref: '#/components/parameters/VersionParam'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - StackSetName
              - Regions
              - RetainStacks
              properties:
                StackSetName:
                  type: string
                Accounts:
                  type: array
                  items:
                    type: string
                Regions:
                  type: array
                  items:
                    type: string
                RetainStacks:
                  type: boolean
                  description: Whether to remove the stack instances from the stack set but not delete the stacks.
                OperationPreferences:
                  $ref: '#/components/schemas/StackSetOperationPreferences'
                OperationId:
                  type: string
                  maxLength: 128
                CallAs:
                  type: string
                  enum:
                  - SELF
                  - DELEGATED_ADMIN
            examples:
              DeletestackinstancesRequestExample:
                summary: Default deleteStackInstances request
                x-microcks-default: true
                value:
                  StackSetName: example_value
                  Accounts:
                  - example_value
                  Regions:
                  - example_value
                  RetainStacks: true
                  OperationPreferences:
                    RegionConcurrencyType: SEQUENTIAL
                    RegionOrder:
                    - example_value
                    FailureToleranceCount: 10
                    FailureTolerancePercentage: 10
                    MaxConcurrentCount: 10
                    MaxConcurrentPercentage: 10
                  OperationId: '500123'
                  CallAs: SELF
      responses:
        '200':
          description: Stack instance deletion initiated.
          content:
            application/xml:
              schema:
                type: object
                properties:
                  DeleteStackInstancesResult:
                    type: object
                    properties:
                      OperationId:
                        type: string
              examples:
                Deletestackinstances200Example:
                  summary: Default deleteStackInstances 200 response
                  x-microcks-default: true
                  value:
                    DeleteStackInstancesResult:
                      OperationId: '500123'
        '400':
          $ref: '#/components/responses/ValidationError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalError'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        Error:
          type: object
          properties:
            Type:
              type: string
            Code:
              type: string
            Message:
              type: string
          example: example_value
        RequestId:
          type: string
          example: '500123'
    StackInstanceSummary:
      type: object
      properties:
        StackSetId:
          type: string
          example: '500123'
        Region:
          type: string
          example: example_value
        Account:
          type: string
          example: example_value
        StackId:
          type: string
          example: '500123'
        Status:
          type: string
          enum:
          - CURRENT
          - OUTDATED
          - INOPERABLE
          example: CURRENT
        StatusReason:
          type: string
          example: example_value
        DriftStatus:
          type: string
          enum:
          - DRIFTED
          - IN_SYNC
          - UNKNOWN
          - NOT_CHECKED
          example: DRIFTED
        LastDriftCheckTimestamp:
          type: string
          format: date-time
          example: '2026-01-15T10:30:00Z'
    StackInstance:
      type: object
      properties:
        StackSetId:
          type: string
          example: '500123'
        Region:
          type: string
          example: example_value
        Account:
          type: string
          example: example_value
        StackId:
          type: string
          example: '500123'
        ParameterOverrides:
          type: array
          items:
            $ref: '#/components/schemas/Parameter'
          example: []
        Status:
          type: string
          enum:
          - CURRENT
          - OUTDATED
          - INOPERABLE
          example: CURRENT
        StackInstanceStatus:
          type: object
          properties:
            DetailedStatus:
              type: string
              enum:
              - PENDING
              - RUNNING
              - SUCCEEDED
              - FAILED
              - CANCELLED
              - INOPERABLE
              - SKIPPED_SUSPENDED_ACCOUNT
          example: example_value
        StatusReason:
          type: string
          example: example_value
        DriftStatus:
          type: string
          enum:
          - DRIFTED
          - IN_SYNC
          - UNKNOWN
          - NOT_CHECKED
          example: DRIFTED
        LastDriftCheckTimestamp:
          type: string
          format: date-time
          example: '2026-01-15T10:30:00Z'
    StackSetOperationPreferences:
      type: object
      properties:
        RegionConcurrencyType:
          type: string
          enum:
          - SEQUENTIAL
          - PARALLEL
          example: SEQUENTIAL
        RegionOrder:
          type: array
          items:
            type: string
          example: []
        FailureToleranceCount:
          type: integer
          minimum: 0
          example: 10
        FailureTolerancePercentage:
          type: integer
          minimum: 0
          maximum: 100
          example: 10
        MaxConcurrentCount:
          type: integer
          minimum: 1
          example: 10
        MaxConcurrentPercentage:
          type: integer
          minimum: 1
          maximum: 100
          example: 10
    Parameter:
      type: object
      properties:
        ParameterKey:
          type: string
          description: The key associated with the parameter.
          example: example_value
        ParameterValue:
          type: string
          description: The input value associated with the parameter.
          example: example_value
        UsePreviousValue:
          type: boolean
          description: Use the existing parameter value during stack updates.
          example: true
        ResolvedValue:
          type: string
          description: The value that resolves to for SSM parameter types.
          example: example_value
  parameters:
    VersionParam:
      name: Version
      in: query
      required: true
      schema:
        type: string
        default: '2010-05-15'
      description: The API version. Fixed to 2010-05-15.
  responses:
    InternalError:
      description: An internal service error occurred.
      content:
        application/xml:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ValidationError:
      description: The input fails to satisfy the constraints specified by the service.
      content:
        application/xml:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFoundError:
      description: The specified resource was not found.
      content:
        application/xml:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    AWS_Signature_V4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4 authentication.