AWS CloudFormation · Capability

AWS CloudFormation API — Stack Instances

AWS CloudFormation API — Stack Instances. 4 operations. Lead operation: Create Stack Instances in Accounts and Regions. Self-contained Naftiko capability covering one Cloudformation business surface.

Run with Naftiko CloudformationStack Instances

What You Can Do

POST
Createstackinstances — Create Stack Instances in Accounts and Regions
/v1/action-createstackinstances
POST
Deletestackinstances — Delete Stack Instances From a Stack Set
/v1/action-deletestackinstances
POST
Describestackinstance — Describe a Stack Instance
/v1/action-describestackinstance
POST
Liststackinstances — List Stack Instances in a Stack Set
/v1/action-liststackinstances

MCP Tools

create-stack-instances-accounts-and

Create Stack Instances in Accounts and Regions

delete-stack-instances-stack-set

Delete Stack Instances From a Stack Set

describe-stack-instance

Describe a Stack Instance

list-stack-instances-stack-set

List Stack Instances in a Stack Set

read-only

Capability Spec

cloudformation-stack-instances.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AWS CloudFormation API — Stack Instances
  description: 'AWS CloudFormation API — Stack Instances. 4 operations. Lead operation: Create Stack Instances in Accounts
    and Regions. Self-contained Naftiko capability covering one Cloudformation business surface.'
  tags:
  - Cloudformation
  - Stack Instances
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLOUDFORMATION_API_KEY: CLOUDFORMATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudformation-stack-instances
    baseUri: https://cloudformation.{region}.amazonaws.com
    description: AWS CloudFormation API — Stack Instances business capability. Self-contained, no shared references.
    resources:
    - name: ?Action=CreateStackInstances
      path: /?Action=CreateStackInstances
      operations:
      - name: createstackinstances
        method: POST
        description: Create Stack Instances in Accounts and Regions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ?Action=DeleteStackInstances
      path: /?Action=DeleteStackInstances
      operations:
      - name: deletestackinstances
        method: POST
        description: Delete Stack Instances From a Stack Set
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ?Action=DescribeStackInstance
      path: /?Action=DescribeStackInstance
      operations:
      - name: describestackinstance
        method: POST
        description: Describe a Stack Instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ?Action=ListStackInstances
      path: /?Action=ListStackInstances
      operations:
      - name: liststackinstances
        method: POST
        description: List Stack Instances in a Stack Set
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.CLOUDFORMATION_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: cloudformation-stack-instances-rest
    port: 8080
    description: REST adapter for AWS CloudFormation API — Stack Instances. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/action-createstackinstances
      name: action-createstackinstances
      description: REST surface for ?Action=CreateStackInstances.
      operations:
      - method: POST
        name: createstackinstances
        description: Create Stack Instances in Accounts and Regions
        call: cloudformation-stack-instances.createstackinstances
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/action-deletestackinstances
      name: action-deletestackinstances
      description: REST surface for ?Action=DeleteStackInstances.
      operations:
      - method: POST
        name: deletestackinstances
        description: Delete Stack Instances From a Stack Set
        call: cloudformation-stack-instances.deletestackinstances
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/action-describestackinstance
      name: action-describestackinstance
      description: REST surface for ?Action=DescribeStackInstance.
      operations:
      - method: POST
        name: describestackinstance
        description: Describe a Stack Instance
        call: cloudformation-stack-instances.describestackinstance
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/action-liststackinstances
      name: action-liststackinstances
      description: REST surface for ?Action=ListStackInstances.
      operations:
      - method: POST
        name: liststackinstances
        description: List Stack Instances in a Stack Set
        call: cloudformation-stack-instances.liststackinstances
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudformation-stack-instances-mcp
    port: 9090
    transport: http
    description: MCP adapter for AWS CloudFormation API — Stack Instances. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: create-stack-instances-accounts-and
      description: Create Stack Instances in Accounts and Regions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudformation-stack-instances.createstackinstances
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-stack-instances-stack-set
      description: Delete Stack Instances From a Stack Set
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudformation-stack-instances.deletestackinstances
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: describe-stack-instance
      description: Describe a Stack Instance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudformation-stack-instances.describestackinstance
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-stack-instances-stack-set
      description: List Stack Instances in a Stack Set
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: cloudformation-stack-instances.liststackinstances
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.