Amazon VPC · Capability

Amazon VPC API — NAT Gateways

Amazon VPC API — NAT Gateways. 2 operations. Lead operation: Amazon VPC Create a NAT Gateway. Self-contained Naftiko capability covering one Amazon Vpc business surface.

Run with Naftiko Amazon VpcNAT Gateways

What You Can Do

GET
Createnatgateway — Amazon VPC Create a NAT Gateway
/v1/action-createnatgateway
GET
Describenatgateways — Amazon VPC Describe NAT Gateways
/v1/action-describenatgateways

MCP Tools

amazon-vpc-create-nat-gateway

Amazon VPC Create a NAT Gateway

read-only idempotent
amazon-vpc-describe-nat-gateways

Amazon VPC Describe NAT Gateways

read-only idempotent

Capability Spec

amazon-vpc-nat-gateways.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon VPC API — NAT Gateways
  description: 'Amazon VPC API — NAT Gateways. 2 operations. Lead operation: Amazon VPC Create a NAT Gateway. Self-contained
    Naftiko capability covering one Amazon Vpc business surface.'
  tags:
  - Amazon Vpc
  - NAT Gateways
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_VPC_API_KEY: AMAZON_VPC_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-vpc-nat-gateways
    baseUri: https://ec2.{region}.amazonaws.com
    description: Amazon VPC API — NAT Gateways business capability. Self-contained, no shared references.
    resources:
    - name: ?Action=CreateNatGateway
      path: /?Action=CreateNatGateway
      operations:
      - name: createnatgateway
        method: GET
        description: Amazon VPC Create a NAT Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SubnetId
          in: query
          type: string
          description: The ID of the subnet in which to create the NAT gateway
          required: true
        - name: AllocationId
          in: query
          type: string
          description: The allocation ID of an Elastic IP address to associate with the NAT gateway
        - name: ConnectivityType
          in: query
          type: string
          description: Indicates whether the NAT gateway supports public or private connectivity
    - name: ?Action=DescribeNatGateways
      path: /?Action=DescribeNatGateways
      operations:
      - name: describenatgateways
        method: GET
        description: Amazon VPC Describe NAT Gateways
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: NatGatewayId
          in: query
          type: array
          description: The IDs of the NAT gateways to describe
        - name: Filter
          in: query
          type: array
          description: Filters to apply to the results
        - name: MaxResults
          in: query
          type: integer
          description: Maximum number of results to return
        - name: NextToken
          in: query
          type: string
          description: Token for the next page of results
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_VPC_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-vpc-nat-gateways-rest
    port: 8080
    description: REST adapter for Amazon VPC API — NAT Gateways. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/action-createnatgateway
      name: action-createnatgateway
      description: REST surface for ?Action=CreateNatGateway.
      operations:
      - method: GET
        name: createnatgateway
        description: Amazon VPC Create a NAT Gateway
        call: amazon-vpc-nat-gateways.createnatgateway
        with:
          SubnetId: rest.SubnetId
          AllocationId: rest.AllocationId
          ConnectivityType: rest.ConnectivityType
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/action-describenatgateways
      name: action-describenatgateways
      description: REST surface for ?Action=DescribeNatGateways.
      operations:
      - method: GET
        name: describenatgateways
        description: Amazon VPC Describe NAT Gateways
        call: amazon-vpc-nat-gateways.describenatgateways
        with:
          NatGatewayId: rest.NatGatewayId
          Filter: rest.Filter
          MaxResults: rest.MaxResults
          NextToken: rest.NextToken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-vpc-nat-gateways-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon VPC API — NAT Gateways. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-vpc-create-nat-gateway
      description: Amazon VPC Create a NAT Gateway
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-vpc-nat-gateways.createnatgateway
      with:
        SubnetId: tools.SubnetId
        AllocationId: tools.AllocationId
        ConnectivityType: tools.ConnectivityType
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-vpc-describe-nat-gateways
      description: Amazon VPC Describe NAT Gateways
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-vpc-nat-gateways.describenatgateways
      with:
        NatGatewayId: tools.NatGatewayId
        Filter: tools.Filter
        MaxResults: tools.MaxResults
        NextToken: tools.NextToken
      outputParameters:
      - type: object
        mapping: $.