AWS CloudFormation · Arazzo Workflow

CloudFormation Inspect a Stack Resource

Version 1.0.0

Describe a single stack resource, then run targeted drift detection against just that resource.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AutomationCloud ResourcesIaCInfrastructure as CodeStack ManagementArazzoWorkflows

Provider

cloudformation

Workflows

inspect-stack-resource
Describe a stack resource and check it for configuration drift.
Reads a single resource's details from a stack and then detects whether that resource has drifted from its expected configuration.
2 steps inputs: logicalResourceId, stackName outputs: driftStatus, physicalResourceId, propertyDifferences, resourceType
1
describeResource
Describe the named resource to capture its physical ID, type, and current resource status.
2
detectResourceDrift
Detect whether the resource's live configuration differs from its expected template configuration, branching on the resulting drift status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: CloudFormation Inspect a Stack Resource
  summary: Describe a single stack resource, then run targeted drift detection against just that resource.
  description: >-
    A focused, single-resource investigation flow. The workflow describes one
    named resource in a stack to capture its physical ID, type, and current
    status, then runs DetectStackResourceDrift against that same resource to
    determine whether its live configuration has drifted from the template — and
    branches on the resulting drift status. Every step spells out its request
    inline using the AWS query protocol so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-600.50
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-600.50
      capability_name: IT Infrastructure Management
      spec: cloudformation-stack-resources-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: stackDriftApi
  url: ../openapi/cloudformation-stack-drift-api-openapi.yml
  type: openapi
- name: stackResourcesApi
  url: ../openapi/cloudformation-stack-resources-api-openapi.yml
  type: openapi
workflows:
- workflowId: inspect-stack-resource
  summary: Describe a stack resource and check it for configuration drift.
  description: >-
    Reads a single resource's details from a stack and then detects whether that
    resource has drifted from its expected configuration.
  inputs:
    type: object
    required:
    - stackName
    - logicalResourceId
    properties:
      stackName:
        type: string
        description: The name or unique ID of the stack containing the resource.
      logicalResourceId:
        type: string
        description: The logical name of the resource as declared in the template.
  steps:
  - stepId: describeResource
    description: >-
      Describe the named resource to capture its physical ID, type, and current
      resource status.
    operationId: describeStackResource
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        StackName: $inputs.stackName
        LogicalResourceId: $inputs.logicalResourceId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      physicalResourceId: $response.body#/DescribeStackResourceResult/StackResourceDetail/PhysicalResourceId
      resourceType: $response.body#/DescribeStackResourceResult/StackResourceDetail/ResourceType
      resourceStatus: $response.body#/DescribeStackResourceResult/StackResourceDetail/ResourceStatus
  - stepId: detectResourceDrift
    description: >-
      Detect whether the resource's live configuration differs from its expected
      template configuration, branching on the resulting drift status.
    operationId: detectStackResourceDrift
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        StackName: $inputs.stackName
        LogicalResourceId: $inputs.logicalResourceId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      driftStatus: $response.body#/DetectStackResourceDriftResult/StackResourceDrift/StackResourceDriftStatus
      propertyDifferences: $response.body#/DetectStackResourceDriftResult/StackResourceDrift/PropertyDifferences
    onSuccess:
    - name: resourceDrifted
      type: end
      criteria:
      - context: $response.body
        condition: $.DetectStackResourceDriftResult.StackResourceDrift.StackResourceDriftStatus in ["MODIFIED","DELETED"]
        type: jsonpath
    - name: resourceInSync
      type: end
      criteria:
      - context: $response.body
        condition: $.DetectStackResourceDriftResult.StackResourceDrift.StackResourceDriftStatus in ["IN_SYNC","NOT_CHECKED"]
        type: jsonpath
  outputs:
    physicalResourceId: $steps.describeResource.outputs.physicalResourceId
    resourceType: $steps.describeResource.outputs.resourceType
    driftStatus: $steps.detectResourceDrift.outputs.driftStatus
    propertyDifferences: $steps.detectResourceDrift.outputs.propertyDifferences

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/cloudformation-inspect-stack-resource-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.