Amazon CloudFormation Resources API

Operations for managing stack resources

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /?Action=DescribeStackResources Describe resources in a stack · Describe Stack Resources #
Ask an LLM
“How do I see what resources a CloudFormation stack has?”
“Can I look up a single resource by its logical name?”
Tell an agent
Describe resources in stack {stack}.
Show the resource with logical ID {logical_id} in stack {stack}.
POST /?Action=ListStackResources List all resources of a stack · List Stack Resources #
Ask an LLM
“Which resources does a CloudFormation stack contain?”
“Can I page through a stack's resources with a NextToken?”
Tell an agent
List all resources of stack {stack}.
Get the next page of resources for stack {stack} using token {next_token}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/amazon-cloudformation:amazon-cloudformation-resources-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-cloudformation-resources-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS CloudFormation Resources API
  version: '2010-05-15'
  description: Generated from AWS's published Smithy model for AWS CloudFormation. 2 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://cloudformation.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=DescribeStackResources:
    post:
      operationId: DescribeStackResources
      summary: Describe Stack Resources
      description: Returns Amazon Web Services resource descriptions for running and deleted stacks. If StackName is specified,
        all the associated resources that are part of the stack are returned. If PhysicalResourceId is specified, the associated
        resources of the stack that the resource belongs to are returned. Only the first 100 resources will be returned. If
        your stack has more resources than this, you should use ListStackResources instead. For deleted stacks, DescribeStackResources
        returns resource information for up to 90 days after the stack has been deleted. You must specify either StackName
        or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result.
        For more information about resources, the LogicalResourceId and PhysicalResourceId, see the CloudFormation User Guide.
        A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DescribeStackResourcesOutput'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeStackResources
                  Version:
                    type: string
                    const: '2010-05-15'
              - $ref: '#/components/schemas/DescribeStackResourcesInput'
      tags:
      - Resources
  /?Action=ListStackResources:
    post:
      operationId: ListStackResources
      summary: List Stack Resources
      description: Returns descriptions of all resources of the specified stack. For deleted stacks, ListStackResources returns
        resource information for up to 90 days after the stack has been deleted.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ListStackResourcesOutput'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ListStackResources
                  Version:
                    type: string
                    const: '2010-05-15'
              - $ref: '#/components/schemas/ListStackResourcesInput'
      tags:
      - Resources
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: cloudformation
  schemas:
    DescribeStackResourcesInput:
      type: object
      properties:
        StackName:
          type: string
          description: 'The name or the unique stack ID that is associated with the stack, which aren''t always interchangeable:
            Running stacks: You can specify either the stack''s name or its unique stack ID. Deleted stacks: You must specify
            the unique stack ID. Required: Conditional. If you don''t specify StackName, you must specify PhysicalResourceId.'
        LogicalResourceId:
          type: string
          description: The logical name of the resource as specified in the template.
        PhysicalResourceId:
          type: string
          description: 'The name or unique identifier that corresponds to a physical instance ID of a resource supported by
            CloudFormation. For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds
            to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance
            belongs to and what other resources are part of the stack. Required: Conditional. If you don''t specify PhysicalResourceId,
            you must specify StackName.'
    DescribeStackResourcesOutput:
      type: object
      properties:
        StackResources:
          type: array
          items:
            $ref: '#/components/schemas/StackResource'
          description: A list of StackResource structures.
    ListStackResourcesInput:
      type: object
      properties:
        StackName:
          type: string
          description: 'The name or the unique stack ID that is associated with the stack, which aren''t always interchangeable:
            Running stacks: You can specify either the stack''s name or its unique stack ID. Deleted stacks: You must specify
            the unique stack ID.'
        NextToken:
          type: string
          description: The token for the next set of items to return. (You received this token from a previous call.)
      required:
      - StackName
    ListStackResourcesOutput:
      type: object
      properties:
        StackResourceSummaries:
          type: array
          items:
            $ref: '#/components/schemas/StackResourceSummary'
          description: A list of StackResourceSummary structures.
        NextToken:
          type: string
          description: If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional
            page exists, this value is null.
    ModuleInfo:
      type: object
      properties:
        TypeHierarchy:
          type: string
          description: A concatenated list of the module type or types that contains the resource. Module types are listed
            starting with the inner-most nested module, and separated by /. In the following example, the resource was created
            from a module of type AWS::First::Example::MODULE, that's nested inside a parent module of type AWS::Second::Example::MODULE.
            AWS::First::Example::MODULE/AWS::Second::Example::MODULE
        LogicalIdHierarchy:
          type: string
          description: A concatenated list of the logical IDs of the module or modules that contains the resource. Modules
            are listed starting with the inner-most nested module, and separated by /. In the following example, the resource
            was created from a module, moduleA, that's nested inside a parent module, moduleB. moduleA/moduleB For more information,
            see Reference module resources in CloudFormation templates in the CloudFormation User Guide.
    StackResource:
      type: object
      properties:
        StackName:
          type: string
          description: The name associated with the stack.
        StackId:
          type: string
          description: Unique identifier of the stack.
        LogicalResourceId:
          type: string
          description: The logical name of the resource specified in the template.
        PhysicalResourceId:
          type: string
          description: The name or unique identifier that corresponds to a physical instance ID of a resource supported by
            CloudFormation.
        ResourceType:
          type: string
          description: Type of resource. For more information, see Amazon Web Services resource and property types reference
            in the CloudFormation User Guide.
        Timestamp:
          type: string
          format: date-time
          description: Time the status was updated.
        ResourceStatus:
          type: string
          enum:
          - CREATE_IN_PROGRESS
          - CREATE_FAILED
          - CREATE_COMPLETE
          - DELETE_IN_PROGRESS
          - DELETE_FAILED
          - DELETE_COMPLETE
          - DELETE_SKIPPED
          - UPDATE_IN_PROGRESS
          - UPDATE_FAILED
          - UPDATE_COMPLETE
          - IMPORT_FAILED
          - IMPORT_COMPLETE
          - IMPORT_IN_PROGRESS
          - IMPORT_ROLLBACK_IN_PROGRESS
          - IMPORT_ROLLBACK_FAILED
          - IMPORT_ROLLBACK_COMPLETE
          - EXPORT_FAILED
          - EXPORT_COMPLETE
          - EXPORT_IN_PROGRESS
          - EXPORT_ROLLBACK_IN_PROGRESS
          - EXPORT_ROLLBACK_FAILED
          - EXPORT_ROLLBACK_COMPLETE
          - UPDATE_ROLLBACK_IN_PROGRESS
          - UPDATE_ROLLBACK_COMPLETE
          - UPDATE_ROLLBACK_FAILED
          - ROLLBACK_IN_PROGRESS
          - ROLLBACK_COMPLETE
          - ROLLBACK_FAILED
          description: Current status of the resource.
        ResourceStatusReason:
          type: string
          description: Success/failure message associated with the resource.
        Description:
          type: string
          description: User defined description associated with the resource.
        DriftInformation:
          $ref: '#/components/schemas/StackResourceDriftInformation'
        ModuleInfo:
          $ref: '#/components/schemas/ModuleInfo'
      required:
      - LogicalResourceId
      - ResourceType
      - Timestamp
      - ResourceStatus
    StackResourceDriftInformation:
      type: object
      properties:
        StackResourceDriftStatus:
          type: string
          enum:
          - IN_SYNC
          - MODIFIED
          - DELETED
          - NOT_CHECKED
          - UNKNOWN
          - UNSUPPORTED
          description: 'Status of the resource''s actual configuration compared to its expected configuration DELETED: The
            resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from
            its expected configuration. NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected
            configuration. Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more
            information, see Resource type support for imports and drift detection. IN_SYNC: The resource''s actual configuration
            matches its expected configuration.'
        LastCheckTimestamp:
          type: string
          format: date-time
          description: When CloudFormation last checked if the resource had drifted from its expected configuration.
      required:
      - StackResourceDriftStatus
    StackResourceDriftInformationSummary:
      type: object
      properties:
        StackResourceDriftStatus:
          type: string
          enum:
          - IN_SYNC
          - MODIFIED
          - DELETED
          - NOT_CHECKED
          - UNKNOWN
          - UNSUPPORTED
          description: 'Status of the resource''s actual configuration compared to its expected configuration. DELETED: The
            resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from
            its expected configuration. NOT_CHECKED: CloudFormation hasn''t checked if the resource differs from its expected
            configuration. Any resources that don''t currently support drift detection have a status of NOT_CHECKED. For more
            information, see Resource type support for imports and drift detection. If you performed a ContinueUpdateRollback
            operation on a stack, resources skipped using R'
        LastCheckTimestamp:
          type: string
          format: date-time
          description: When CloudFormation last checked if the resource had drifted from its expected configuration.
      required:
      - StackResourceDriftStatus
    StackResourceSummary:
      type: object
      properties:
        LogicalResourceId:
          type: string
          description: The logical name of the resource specified in the template.
        PhysicalResourceId:
          type: string
          description: The name or unique identifier that corresponds to a physical instance ID of the resource.
        ResourceType:
          type: string
          description: Type of resource. (For more information, see Amazon Web Services resource and property types reference
            in the CloudFormation User Guide.)
        LastUpdatedTimestamp:
          type: string
          format: date-time
          description: Time the status was updated.
        ResourceStatus:
          type: string
          enum:
          - CREATE_IN_PROGRESS
          - CREATE_FAILED
          - CREATE_COMPLETE
          - DELETE_IN_PROGRESS
          - DELETE_FAILED
          - DELETE_COMPLETE
          - DELETE_SKIPPED
          - UPDATE_IN_PROGRESS
          - UPDATE_FAILED
          - UPDATE_COMPLETE
          - IMPORT_FAILED
          - IMPORT_COMPLETE
          - IMPORT_IN_PROGRESS
          - IMPORT_ROLLBACK_IN_PROGRESS
          - IMPORT_ROLLBACK_FAILED
          - IMPORT_ROLLBACK_COMPLETE
          - EXPORT_FAILED
          - EXPORT_COMPLETE
          - EXPORT_IN_PROGRESS
          - EXPORT_ROLLBACK_IN_PROGRESS
          - EXPORT_ROLLBACK_FAILED
          - EXPORT_ROLLBACK_COMPLETE
          - UPDATE_ROLLBACK_IN_PROGRESS
          - UPDATE_ROLLBACK_COMPLETE
          - UPDATE_ROLLBACK_FAILED
          - ROLLBACK_IN_PROGRESS
          - ROLLBACK_COMPLETE
          - ROLLBACK_FAILED
          description: Current status of the resource.
        ResourceStatusReason:
          type: string
          description: Success/failure message associated with the resource.
        DriftInformation:
          $ref: '#/components/schemas/StackResourceDriftInformationSummary'
        ModuleInfo:
          $ref: '#/components/schemas/ModuleInfo'
      required:
      - LogicalResourceId
      - ResourceType
      - LastUpdatedTimestamp
      - ResourceStatus
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/cloudformation/service/2010-05-15/cloudformation-2010-05-15.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)