Amazon Firewall Manager · Arazzo Workflow

Amazon Firewall Manager Find And Tag Policy

Version 1.0.0

Find a policy in the policy list and apply governance tags to its ARN when it exists.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub ComplianceFirewallNetwork SecuritySecurityArazzoWorkflows

Provider

amazon-firewall-manager

Workflows

find-and-tag-policy
List policies and tag the first policy's ARN when at least one exists.
Reads the policy list, and when at least one policy is present applies a governance tag to the first policy's ARN and confirms it, otherwise ends.
3 steps inputs: maxResults, tagKey, tagValue outputs: policyArn, policyId, tagList
1
listPolicies
List the Firewall Manager policies and branch on whether any were returned.
2
tagPolicy
Apply the supplied governance tag to the first policy using its ARN.
3
confirmPolicyTags
List the tags for the policy ARN to confirm the governance tag was applied.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Firewall Manager Find And Tag Policy
  summary: Find a policy in the policy list and apply governance tags to its ARN when it exists.
  description: >-
    Lists Firewall Manager policies and branches on whether any were returned:
    when policies exist it applies a governance tag to the first policy's ARN
    with TagResource and reads the tags back, and when the list is empty it ends
    without writing. Each step inlines its request so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: policiesApi
  url: ../openapi/amazon-firewall-manager-policies-api-openapi.yml
  type: openapi
- name: resourcesApi
  url: ../openapi/amazon-firewall-manager-resources-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-and-tag-policy
  summary: List policies and tag the first policy's ARN when at least one exists.
  description: >-
    Reads the policy list, and when at least one policy is present applies a
    governance tag to the first policy's ARN and confirms it, otherwise ends.
  inputs:
    type: object
    required:
    - tagKey
    - tagValue
    properties:
      maxResults:
        type: integer
        description: Maximum number of policies to return.
      tagKey:
        type: string
        description: The key of the governance tag to apply.
      tagValue:
        type: string
        description: The value of the governance tag to apply.
  steps:
  - stepId: listPolicies
    description: >-
      List the Firewall Manager policies and branch on whether any were
      returned.
    operationId: listPolicies
    parameters:
    - name: maxResults
      in: query
      value: $inputs.maxResults
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      policyArn: $response.body#/PolicyList/0/PolicyArn
      policyId: $response.body#/PolicyList/0/PolicyId
    onSuccess:
    - name: policyExists
      type: goto
      stepId: tagPolicy
      criteria:
      - context: $response.body
        condition: $.PolicyList.length > 0
        type: jsonpath
    - name: noPolicies
      type: end
      criteria:
      - context: $response.body
        condition: $.PolicyList.length == 0
        type: jsonpath
  - stepId: tagPolicy
    description: >-
      Apply the supplied governance tag to the first policy using its ARN.
    operationId: tagResource
    parameters:
    - name: resourceArn
      in: path
      value: $steps.listPolicies.outputs.policyArn
    requestBody:
      contentType: application/json
      payload:
        TagList:
        - Key: $inputs.tagKey
          Value: $inputs.tagValue
    successCriteria:
    - condition: $statusCode == 200
  - stepId: confirmPolicyTags
    description: >-
      List the tags for the policy ARN to confirm the governance tag was
      applied.
    operationId: listTagsForResource
    parameters:
    - name: resourceArn
      in: path
      value: $steps.listPolicies.outputs.policyArn
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      tagList: $response.body#/TagList
  outputs:
    policyId: $steps.listPolicies.outputs.policyId
    policyArn: $steps.listPolicies.outputs.policyArn
    tagList: $steps.confirmPolicyTags.outputs.tagList

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-firewall-manager-find-and-tag-policy-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.