AWS CloudFormation · Capability

AWS CloudFormation API — Exports

AWS CloudFormation API — Exports. 2 operations. Lead operation: List Stack Exports. Self-contained Naftiko capability covering one Cloudformation business surface.

Run with Naftiko CloudformationExports

What You Can Do

POST
Listexports — List Stack Exports
/v1/action-listexports
POST
Listimports — List Stacks That Import an Exported Value
/v1/action-listimports

MCP Tools

list-stack-exports

List Stack Exports

read-only
list-stacks-that-import-exported

List Stacks That Import an Exported Value

read-only

Capability Spec

cloudformation-exports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AWS CloudFormation API — Exports
  description: 'AWS CloudFormation API — Exports. 2 operations. Lead operation: List Stack Exports. Self-contained Naftiko
    capability covering one Cloudformation business surface.'
  tags:
  - Cloudformation
  - Exports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLOUDFORMATION_API_KEY: CLOUDFORMATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudformation-exports
    baseUri: https://cloudformation.{region}.amazonaws.com
    description: AWS CloudFormation API — Exports business capability. Self-contained, no shared references.
    resources:
    - name: ?Action=ListExports
      path: /?Action=ListExports
      operations:
      - name: listexports
        method: POST
        description: List Stack Exports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: ?Action=ListImports
      path: /?Action=ListImports
      operations:
      - name: listimports
        method: POST
        description: List Stacks That Import an Exported Value
        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-exports-rest
    port: 8080
    description: REST adapter for AWS CloudFormation API — Exports. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/action-listexports
      name: action-listexports
      description: REST surface for ?Action=ListExports.
      operations:
      - method: POST
        name: listexports
        description: List Stack Exports
        call: cloudformation-exports.listexports
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/action-listimports
      name: action-listimports
      description: REST surface for ?Action=ListImports.
      operations:
      - method: POST
        name: listimports
        description: List Stacks That Import an Exported Value
        call: cloudformation-exports.listimports
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudformation-exports-mcp
    port: 9090
    transport: http
    description: MCP adapter for AWS CloudFormation API — Exports. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-stack-exports
      description: List Stack Exports
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: cloudformation-exports.listexports
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-stacks-that-import-exported
      description: List Stacks That Import an Exported Value
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: cloudformation-exports.listimports
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.