naftiko: 1.0.0-alpha2 info: label: AWS CloudFormation API — Stack Resources description: 'AWS CloudFormation API — Stack Resources. 4 operations. Lead operation: Describe a Specific Resource in a Stack. Self-contained Naftiko capability covering one Cloudformation business surface.' tags: - Cloudformation - Stack Resources 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-resources baseUri: https://cloudformation.{region}.amazonaws.com description: AWS CloudFormation API — Stack Resources business capability. Self-contained, no shared references. resources: - name: ?Action=DescribeStackResource path: /?Action=DescribeStackResource operations: - name: describestackresource method: POST description: Describe a Specific Resource in a Stack outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=DescribeStackResources path: /?Action=DescribeStackResources operations: - name: describestackresources method: POST description: Describe All Resources in a Stack outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: ?Action=ListStackResources path: /?Action=ListStackResources operations: - name: liststackresources method: POST description: List Resources in a Stack outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=SignalResource path: /?Action=SignalResource operations: - name: signalresource method: POST description: Send a Signal to a Resource in a Stack 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-resources-rest port: 8080 description: REST adapter for AWS CloudFormation API — Stack Resources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/action-describestackresource name: action-describestackresource description: REST surface for ?Action=DescribeStackResource. operations: - method: POST name: describestackresource description: Describe a Specific Resource in a Stack call: cloudformation-stack-resources.describestackresource with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-describestackresources name: action-describestackresources description: REST surface for ?Action=DescribeStackResources. operations: - method: POST name: describestackresources description: Describe All Resources in a Stack call: cloudformation-stack-resources.describestackresources with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-liststackresources name: action-liststackresources description: REST surface for ?Action=ListStackResources. operations: - method: POST name: liststackresources description: List Resources in a Stack call: cloudformation-stack-resources.liststackresources with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-signalresource name: action-signalresource description: REST surface for ?Action=SignalResource. operations: - method: POST name: signalresource description: Send a Signal to a Resource in a Stack call: cloudformation-stack-resources.signalresource with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cloudformation-stack-resources-mcp port: 9090 transport: http description: MCP adapter for AWS CloudFormation API — Stack Resources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: describe-specific-resource-stack description: Describe a Specific Resource in a Stack hints: readOnly: false destructive: false idempotent: false call: cloudformation-stack-resources.describestackresource with: body: tools.body outputParameters: - type: object mapping: $. - name: describe-all-resources-stack description: Describe All Resources in a Stack hints: readOnly: false destructive: false idempotent: false call: cloudformation-stack-resources.describestackresources with: body: tools.body outputParameters: - type: object mapping: $. - name: list-resources-stack description: List Resources in a Stack hints: readOnly: true destructive: false idempotent: false call: cloudformation-stack-resources.liststackresources with: body: tools.body outputParameters: - type: object mapping: $. - name: send-signal-resource-stack description: Send a Signal to a Resource in a Stack hints: readOnly: false destructive: false idempotent: false call: cloudformation-stack-resources.signalresource with: body: tools.body outputParameters: - type: object mapping: $.