View a markdown version of this page

Supported resource types for auto-detection - Amazon Bedrock AgentCore

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.

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

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.

Amazon Bedrock AgentCore Runtime

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:

"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 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:

"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

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 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.

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:

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:

"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)

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:

"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

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:

"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

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 in the Amazon EKS User Guide.