Amazon Firewall Manager · Arazzo Workflow

Amazon Firewall Manager Onboard Admin Account

Version 1.0.0

Set the Firewall Manager administrator account and confirm its association and role status.

1 workflow 1 source API 1 provider
View Spec View on GitHub ComplianceFirewallNetwork SecuritySecurityArazzoWorkflows

Provider

amazon-firewall-manager

Workflows

onboard-admin-account
Associate a Firewall Manager administrator account and verify its role status.
Sets the supplied AWS account as the Firewall Manager administrator account and then reads the association back to confirm the account id and role status.
2 steps inputs: adminAccount outputs: adminAccount, roleStatus
1
associateAdminAccount
associateAdminAccount
Set the supplied AWS account as the Firewall Manager administrator account.
2
confirmAdminAccount
getAdminAccount
Read the administrator association back to confirm the account id and surface the current role status.

Source API Descriptions

Arazzo Workflow Specification

amazon-firewall-manager-onboard-admin-account-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Firewall Manager Onboard Admin Account
  summary: Set the Firewall Manager administrator account and confirm its association and role status.
  description: >-
    Sets an AWS account as the AWS Firewall Manager administrator account with
    AssociateAdminAccount, then reads the administrator association back with
    GetAdminAccount to confirm the account and surface its role status. 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: firewallManagerApi
  url: ../openapi/amazon-firewall-manager-openapi.yml
  type: openapi
workflows:
- workflowId: onboard-admin-account
  summary: Associate a Firewall Manager administrator account and verify its role status.
  description: >-
    Sets the supplied AWS account as the Firewall Manager administrator account
    and then reads the association back to confirm the account id and role
    status.
  inputs:
    type: object
    required:
    - adminAccount
    properties:
      adminAccount:
        type: string
        description: The AWS account ID to set as the Firewall Manager administrator account.
  steps:
  - stepId: associateAdminAccount
    description: >-
      Set the supplied AWS account as the Firewall Manager administrator
      account.
    operationId: associateAdminAccount
    requestBody:
      contentType: application/json
      payload:
        AdminAccount: $inputs.adminAccount
    successCriteria:
    - condition: $statusCode == 200
  - stepId: confirmAdminAccount
    description: >-
      Read the administrator association back to confirm the account id and
      surface the current role status.
    operationId: getAdminAccount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      adminAccount: $response.body#/AdminAccount
      roleStatus: $response.body#/RoleStatus
  outputs:
    adminAccount: $steps.confirmAdminAccount.outputs.adminAccount
    roleStatus: $steps.confirmAdminAccount.outputs.roleStatus