naftiko: 1.0.0-alpha2 info: label: AWS CloudFormation API — Templates description: 'AWS CloudFormation API — Templates. 3 operations. Lead operation: Retrieve a Stack Template. Self-contained Naftiko capability covering one Cloudformation business surface.' tags: - Cloudformation - Templates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOUDFORMATION_API_KEY: CLOUDFORMATION_API_KEY capability: consumes: - type: http namespace: cloudformation-templates baseUri: https://cloudformation.{region}.amazonaws.com description: AWS CloudFormation API — Templates business capability. Self-contained, no shared references. resources: - name: ?Action=GetTemplate path: /?Action=GetTemplate operations: - name: gettemplate method: POST description: Retrieve a Stack Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: ?Action=GetTemplateSummary path: /?Action=GetTemplateSummary operations: - name: gettemplatesummary method: POST description: Get Summary Information About a Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: ?Action=ValidateTemplate path: /?Action=ValidateTemplate operations: - name: validatetemplate method: POST description: Validate a Cloudformation Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: Authorization value: '{{env.CLOUDFORMATION_API_KEY}}' placement: header exposes: - type: rest namespace: cloudformation-templates-rest port: 8080 description: REST adapter for AWS CloudFormation API — Templates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/action-gettemplate name: action-gettemplate description: REST surface for ?Action=GetTemplate. operations: - method: POST name: gettemplate description: Retrieve a Stack Template call: cloudformation-templates.gettemplate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-gettemplatesummary name: action-gettemplatesummary description: REST surface for ?Action=GetTemplateSummary. operations: - method: POST name: gettemplatesummary description: Get Summary Information About a Template call: cloudformation-templates.gettemplatesummary with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-validatetemplate name: action-validatetemplate description: REST surface for ?Action=ValidateTemplate. operations: - method: POST name: validatetemplate description: Validate a Cloudformation Template call: cloudformation-templates.validatetemplate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cloudformation-templates-mcp port: 9090 transport: http description: MCP adapter for AWS CloudFormation API — Templates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-stack-template description: Retrieve a Stack Template hints: readOnly: true destructive: false idempotent: false call: cloudformation-templates.gettemplate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-summary-information-about-template description: Get Summary Information About a Template hints: readOnly: true destructive: false idempotent: false call: cloudformation-templates.gettemplatesummary with: body: tools.body outputParameters: - type: object mapping: $. - name: validate-cloudformation-template description: Validate a Cloudformation Template hints: readOnly: true destructive: false idempotent: false call: cloudformation-templates.validatetemplate with: body: tools.body outputParameters: - type: object mapping: $.