Amazon WAF · Capability

Amazon WAF API — Rule Groups

Amazon WAF API — Rule Groups. 1 operations. Lead operation: Amazon WAF Create a Rule Group. Self-contained Naftiko capability covering one Amazon Waf business surface.

Run with Naftiko Amazon WafRule Groups

What You Can Do

POST
Createrulegroup — Amazon WAF Create a Rule Group
/v1/createrulegroup

MCP Tools

amazon-waf-create-rule-group

Amazon WAF Create a Rule Group

Capability Spec

amazon-waf-rule-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon WAF API — Rule Groups
  description: 'Amazon WAF API — Rule Groups. 1 operations. Lead operation: Amazon WAF Create a Rule Group. Self-contained
    Naftiko capability covering one Amazon Waf business surface.'
  tags:
  - Amazon Waf
  - Rule Groups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_WAF_API_KEY: AMAZON_WAF_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-waf-rule-groups
    baseUri: https://wafv2.{region}.amazonaws.com
    description: Amazon WAF API — Rule Groups business capability. Self-contained, no shared references.
    resources:
    - name: '#CreateRuleGroup'
      path: /#CreateRuleGroup
      operations:
      - name: createrulegroup
        method: POST
        description: Amazon WAF Create a Rule Group
        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.AMAZON_WAF_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-waf-rule-groups-rest
    port: 8080
    description: REST adapter for Amazon WAF API — Rule Groups. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/createrulegroup
      name: createrulegroup
      description: 'REST surface for #CreateRuleGroup.'
      operations:
      - method: POST
        name: createrulegroup
        description: Amazon WAF Create a Rule Group
        call: amazon-waf-rule-groups.createrulegroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-waf-rule-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon WAF API — Rule Groups. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-waf-create-rule-group
      description: Amazon WAF Create a Rule Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-waf-rule-groups.createrulegroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.