aws / aws/aws-cdk

(aws-bedrockagentcore): Unrecognized resource types: [AWS::BedrockAgentCore::OnlineEvaluationConfig]

Open
#37,628 5 comments 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-bedrock-agentcore-alpha bug p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the bug

Hello,

When trying to deploy a stack using a `CfnOnlineEvaluationConfig` resource, the following error shows up :
`Template format error: Unrecognized resource types: [AWS::BedrockAgentCore::OnlineEvaluationConfig]`

### Regression Issue

- [ ] Select this option if this issue appears to be a regression.

### Last Known Working CDK Library Version

2.250.0

### Expected Behavior

No error.

### Current Behavior

`diff` & `synth` commands are OK. Only `deploy` fails.

### Reproduction Steps

Just create a simple `CfnOnlineEvaluationConfig` and trigger a cdk deploy.

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### AWS CDK Library version (aws-cdk-lib)

2.250.0

### AWS CDK CLI version

2.1118.2

### Node.js Version

24

### OS

Ubuntu 24

### Language

TypeScript

### Language Version

5.4.5

### Other information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the CfnOnlineEvaluationConfig resource and reproduce the issue using the reported aws-cdk-lib 2.250.0 and CDK CLI 2.1118.2 versions. Compare the successful diff and synth results with the failing deploy; done means a stack containing this resource deploys without the unrecognized resource type error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.