

# Supported resource types for auto-detection

**Migration Now Open**  
 AWS Agent Registry has launched under the new `agent-registry` namespace. Support for the public preview `bedrock-agentcore` namespace will be discontinued on October 30, 2026. For migration instructions, see [Comprehensive registry migration guide](registry-faq.md).

This topic lists the resource types that auto-detection supports and the source and record types each produces. Auto-detection discovers these resource types in both organization-scoped and account-scoped registries, and catalogs each one as an `AGENT` record, an `MCP` record for a resource that exposes the Model Context Protocol (MCP), or a `GATEWAY` record for an AgentCore Gateway.


| Resource |  `sourceType`  |  `recordType`  | 
| --- | --- | --- | 
| Amazon Bedrock AgentCore Runtime |  `AWS::BedrockAgentCore::Runtime`  |  `AGENT`. You can change it to `MCP`. | 
| Amazon Bedrock AgentCore Gateway |  `AWS::BedrockAgentCore::Gateway`  |  `GATEWAY`  | 
| Amazon EKS Deployment |  `AWS::EKS::Deployment`  |  `AGENT` or `MCP`, depending on a label | 
| Agent Space (AWS DevOps Agent) |  `AWS::DevOpsAgent::AgentSpace`  |  `AGENT`  | 
|  AWS Quick Agent |  `AWS::QuickSight::Agent`  |  `AGENT`  | 

## Provenance
<a name="registry-auto-detection-resource-types-provenance"></a>

Every auto-detected record has a provenance entry that links it to its source resource. The relation is always `DETECTED_FROM`, `sourceId` is the Amazon Resource Name (ARN) of the source resource, and `sourceType` is the resource type from the preceding table. `sourceDetails` holds attributes that auto-detection reads from the source resource, under a member named for the resource type.

The attributes in `sourceDetails` have the same meaning as on the source resource. Each of the following sections shows an example provenance for its resource type. For workload identity, see [How AWS Agent Registry works with IAM for Agents](#registry-auto-detection-resource-types-workload-identity).

## Amazon Bedrock AgentCore Runtime
<a name="registry-auto-detection-resource-types-runtime"></a>

A record detected from a runtime starts with the record type `AGENT`. Auto-detection can’t tell a Model Context Protocol (MCP) server from an agent that exposes MCP. You can change the record type to `MCP`, and back to `AGENT`. If the runtime’s protocol changes later, auto-detection sets the record type back to `AGENT`.

The following JSON example shows the provenance of a record detected from a runtime:

```json
"provenance": [
  {
    "relation": "DETECTED_FROM",
    "sourceId": "arn:aws:bedrock-agentcore:us-west-2:111122223333:runtime/order_agent-a1B2c3D4e5",
    "sourceType": "AWS::BedrockAgentCore::Runtime",
    "sourceDetails": {
      "agentcoreRuntime": {
        "protocolConfiguration": {
          "serverProtocol": "HTTP"
        },
        "authorizerConfiguration": {
          "customJWTAuthorizer": {
            "discoveryUrl": "https://auth.example.com/.well-known/openid-configuration"
          }
        },
        "workloadIdentityTemplateArn": "arn:aws:iam::111122223333:workload-identity-template/order-agents"
      }
    }
  }
]
```

## Amazon Bedrock AgentCore Gateway
<a name="registry-auto-detection-resource-types-gateway"></a>

A record detected from a gateway has the record type `GATEWAY`, and you can’t change it.

The following JSON example shows the provenance of a record detected from a gateway:

```json
"provenance": [
  {
    "relation": "DETECTED_FROM",
    "sourceId": "arn:aws:bedrock-agentcore:us-west-2:111122223333:gateway/order-tools-gateway-f6g7h8i9j0",
    "sourceType": "AWS::BedrockAgentCore::Gateway",
    "sourceDetails": {
      "agentcoreGateway": {
        "protocolType": "MCP",
        "authorizerType": "CUSTOM_JWT",
        "authorizerConfiguration": {
          "customJWTAuthorizer": {
            "discoveryUrl": "https://auth.example.com/.well-known/openid-configuration"
          }
        },
        "workloadIdentityTemplateArn": "arn:aws:iam::111122223333:workload-identity-template/order-agents"
      }
    }
  }
]
```

## Amazon EKS Deployment
<a name="registry-auto-detection-resource-types-eks"></a>

**How auto-detection works with Amazon EKS**  
When you turn on auto-detection, AWS Agent Registry inspects the Deployments you label as agents or MCP servers in the covered accounts. AWS Agent Registry processes only metadata that describes those Deployment objects, such as cluster, namespace, Deployment name, and the `kubernetes.io/description` annotation, and uses it only to create, update, and remove their registry records. This integration operates within the Amazon EKS zero operator access design. For more information, see [Amazon Elastic Kubernetes Service gets independent affirmation of its zero operator access design](https://aws.amazon.com/blogs/security/amazon-elastic-kubernetes-service-gets-independent-affirmation-of-its-zero-operator-access-design/) on the * AWS Security Blog*. When you turn off auto-detection, AWS Agent Registry unsubscribes and stops receiving this information.

Auto-detection includes only the Kubernetes Deployments that you opt in. To opt in a Deployment, add the label `agent-registry.amazonaws.com/workload-type` to the Deployment’s own `metadata.labels`, with the value `AGENT` or `MCP`. Labels on the pod template don’t count. Each labeled Deployment becomes one record.

```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: checkout-agent
  namespace: checkout
  labels:
    agent-registry.amazonaws.com/workload-type: AGENT
  annotations:
    kubernetes.io/description: "Answers order and checkout questions for customers"
spec:
  template:
    spec:
      serviceAccountName: checkout-agent-sa
      # ...
```

To label a running Deployment instead:

```bash
kubectl label deployment checkout-agent -n checkout agent-registry.amazonaws.com/workload-type=AGENT
```

The value is case-sensitive. Auto-detection ignores a Deployment with any other value.

The record’s type follows the label. To change it, change the label’s value. When the record is created, its display name is `<namespace>/<name>` (or just `<name>` if that would be longer than 255 characters), and its description comes from the `kubernetes.io/description` annotation, or a generated description naming the Deployment and its cluster if the annotation is absent or blank. After that, the display name and description are yours to change — auto-detection never sends them on an update, so your edits survive.

If you remove the label, set it to a value other than `AGENT` or `MCP`, or delete the Deployment, auto-detection removes the record. A Deployment that you delete and create again with the same name gets a new record.

The following JSON example shows the provenance of a record detected from an Amazon EKS Deployment:

```json
"provenance": [
  {
    "relation": "DETECTED_FROM",
    "sourceId": "arn:aws:eks:us-west-2:111122223333:deployment/my-cluster/checkout/checkout-agent/12345678-1234-1234-1234-123456789012",
    "sourceType": "AWS::EKS::Deployment",
    "sourceDetails": {
      "eksDeployment": {
        "clusterArn": "arn:aws:eks:us-west-2:111122223333:cluster/my-cluster",
        "namespace": "checkout",
        "deploymentName": "checkout-agent",
        "serviceAccountName": "checkout-agent-sa",
        "workloadType": "AGENT",
        "workloadIdentityTemplateArn": "arn:aws:iam::111122223333:workload-identity-template/checkout-agents"
      }
    }
  }
]
```

## Agent Space (AWS DevOps Agent)
<a name="registry-auto-detection-resource-types-agent-space"></a>

The Agent Spaces in your AWS DevOps Agent show up in the registry as records with the record type `AGENT`. Their provenance includes when the Agent Space was created and last updated.

The following JSON example shows the provenance of a record detected from an Agent Space:

```json
"provenance": [
  {
    "relation": "DETECTED_FROM",
    "sourceId": "arn:aws:aidevops:us-east-1:111122223333:agentspace/12345678-1234-5678-9abc-123456789012",
    "sourceType": "AWS::DevOpsAgent::AgentSpace",
    "sourceDetails": {
      "devopsAgentAgentSpace": {
        "createdAt": "2026-09-01T17:00:00+00:00",
        "updatedAt": "2026-09-15T08:30:00+00:00"
      }
    }
  }
]
```

## AWS Quick Agent
<a name="registry-auto-detection-resource-types-quick-agent"></a>

Your Quick Agents show up in the registry as records with the record type `AGENT`. The record’s display name is the Agent’s name, and auto-detection updates it when you rename the Agent. You can’t submit or approve records detected from Quick Agents, so they aren’t discoverable.

The following JSON example shows the provenance of a record detected from a Quick Agent:

```json
"provenance": [
  {
    "relation": "DETECTED_FROM",
    "sourceId": "arn:aws:quicksight:us-east-1:111122223333:agent/1234abcd-12ab-34cd-56ef-1234567890ab",
    "sourceType": "AWS::QuickSight::Agent",
    "sourceDetails": {
      "quickAgent": {
        "createdAt": "2026-09-01T17:00:00+00:00",
        "updatedAt": "2026-09-15T08:30:00+00:00"
      }
    }
  }
]
```

## How AWS Agent Registry works with IAM for Agents
<a name="registry-auto-detection-resource-types-workload-identity"></a>

**Public preview**  
The IAM for Agents integration is in public preview. Features and APIs may change before general availability.

When a resource is associated with an IAM workload identity template, its record’s provenance carries the template’s ARN in `workloadIdentityTemplateArn`. Use it to see which workload identity a detected agent runs as. Auto-detection records the template for AgentCore Runtimes, AgentCore Gateways, and Amazon EKS Deployments.

For an Amazon EKS Deployment, the template comes from the EKS Pod Identity association of the Deployment’s ServiceAccount:
+ The record has `workloadIdentityTemplateArn` when the ServiceAccount has a Pod Identity association whose workload identity configuration is enabled and names a template.
+ The record has no `workloadIdentityTemplateArn` when the ServiceAccount has no association, the association has no template, or its workload identity configuration is disabled.
+ Auto-detection reads the association each time the Deployment changes. A change to only the association doesn’t update the record. The next change to the Deployment does.

For instructions on creating a Pod Identity association, see [Assign an IAM role to a Kubernetes service account](https://docs.aws.amazon.com/eks/latest/userguide/pod-id-association.html) in the *Amazon EKS User Guide*.